Plastikmensch 2024-05-05 17:10:08 +00:00 committed by GitHub
commit c67d66fac6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -74,6 +74,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),