about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-05-23 12:15:46 +0200
committermultiple creatures <dev@multiple-creature.party>2019-11-19 13:14:02 -0600
commitd1b0f3a7e23d8b2f1080b39736146989c8eb83b2 (patch)
treedd37e11b7aaf208c9d7fc812521d81c68fe37f8d /app
parent5c9fbacaafa0734d1c56762b671d39ba0391bc0b (diff)
Allow rel=tag in status text
Fixes tag links in local Markdown or HTML-authored statuses
Diffstat (limited to 'app')
-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 bf2e6c167..76931e86a 100644
--- a/app/lib/sanitize_config.rb
+++ b/app/lib/sanitize_config.rb
@@ -131,7 +131,7 @@ class Sanitize
 
       add_attributes: {
         'a' => {
-          'rel' => 'nofollow noopener',
+          'rel' => 'nofollow noopener tag',
           'target' => '_blank',
         },
       },