diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-23 12:15:46 +0200 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-11-19 13:14:02 -0600 |
commit | d1b0f3a7e23d8b2f1080b39736146989c8eb83b2 (patch) | |
tree | dd37e11b7aaf208c9d7fc812521d81c68fe37f8d /app/lib | |
parent | 5c9fbacaafa0734d1c56762b671d39ba0391bc0b (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.rb | 2 |
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', }, }, |