From 7c609bdab9860d7830ba961fc4df9e11f494d571 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Thu, 23 May 2019 12:15:46 +0200 Subject: [PATCH] Allow rel=tag in status text Fixes tag links in local Markdown or HTML-authored statuses --- app/lib/sanitize_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index 23d0a418fe..75c916485c 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -31,7 +31,7 @@ class Sanitize add_attributes: { 'a' => { - 'rel' => 'nofollow noopener', + 'rel' => 'nofollow noopener tag', 'target' => '_blank', }, },