about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-23 12:15:46 +0200
committerThibG <thib@sitedethib.com>2019-05-23 12:28:33 +0200
commit7c609bdab9860d7830ba961fc4df9e11f494d571 (patch)
tree8c98cbc24167e9704541e53e9440dd5e9111fb47 /app/lib
parent2332b3f146b0d879daba8a99bd35c8bf425edea3 (diff)
Allow rel=tag in status text
Fixes tag links in local Markdown or HTML-authored statuses
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/sanitize_config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb
index 23d0a418f..75c916485 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',
         },
       },