Add forgotten tags

This commit is contained in:
Thibaut Girka 2019-04-27 17:15:48 +02:00 committed by asonix
parent d8c324ad2e
commit 97d8239837
2 changed files with 10 additions and 1 deletions

View file

@ -718,6 +718,10 @@
font-family: inherit;
}
u {
text-decoration: none;
}
h1::before {
content: '# ';
}
@ -788,6 +792,11 @@
i {
font-style: italic;
}
sub {
font-size: smaller;
text-align: sub;
}
}
&.rich-blocks {

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 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),