diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-05-23 12:15:46 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-05-23 12:28:33 +0200 |
commit | 7c609bdab9860d7830ba961fc4df9e11f494d571 (patch) | |
tree | 8c98cbc24167e9704541e53e9440dd5e9111fb47 /app/lib | |
parent | 2332b3f146b0d879daba8a99bd35c8bf425edea3 (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 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', }, }, |