re-add support for tags `sup`, `h6`, `hr`

staging
multiple creatures 2019-05-17 19:40:55 -05:00
parent 8394452bae
commit edeb344b90
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class Sanitize
end
MASTODON_STRICT ||= freeze_config(
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),
elements: %w(p br span a abbr del pre sub sup blockquote code b strong u i em h1 h2 h3 h4 h5 h6 ul ol li hr),
attributes: {
'a' => %w(href rel class title),