]> cat aescling's git repositories - mastodon.git/commitdiff
Allow rel=tag in status text
authorThibaut Girka <thib@sitedethib.com>
Thu, 23 May 2019 10:15:46 +0000 (12:15 +0200)
committerThibG <thib@sitedethib.com>
Thu, 23 May 2019 10:28:33 +0000 (12:28 +0200)
Fixes tag links in local Markdown or HTML-authored statuses

app/lib/sanitize_config.rb

index 23d0a418fe9109ed4824a7b3a1c84f31876713a9..75c916485ce937dc93114e3ae9c19396e853db59 100644 (file)
@@ -31,7 +31,7 @@ class Sanitize
 
       add_attributes: {
         'a' => {
-          'rel' => 'nofollow noopener',
+          'rel' => 'nofollow noopener tag',
           'target' => '_blank',
         },
       },