Allow small tag in toots

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
pull/2135/head
Plastikmensch 2023-03-15 10:30:55 +01:00
parent dfbf96021e
commit 0a5cc526b9
No known key found for this signature in database
GPG Key ID: 96381D586F4A6077
2 changed files with 5 additions and 1 deletions

View File

@ -73,6 +73,10 @@
vertical-align: super;
}
small {
font-size: smaller;
}
ul,
ol {
margin-inline-start: 2em;

View File

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