Add forgotten tags
This commit is contained in:
parent
d8c324ad2e
commit
97d8239837
|
@ -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 {
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue