diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-04-29 19:00:27 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-04-29 19:31:09 +0200 |
commit | 3e095cab83f3e88c5f5f4ca9d7029379ed5b5b56 (patch) | |
tree | 18f87ee49e8900254cff1e3210616096a2a393d9 /app/lib | |
parent | 67fb9a867956207ce52e5d683634bd58c82340ad (diff) |
Add support for missing formatting tags
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 0a87bf6df..23d0a418f 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -20,7 +20,7 @@ class Sanitize end MASTODON_STRICT ||= freeze_config( - elements: %w(p br span a abbr del pre blockquote code b strong i em h1 h2 h3 h4 h5 ul ol li), + elements: %w(p br span a abbr del pre blockquote code b strong u sub i em h1 h2 h3 h4 h5 ul ol li), attributes: { 'a' => %w(href rel class title), |