Add forgotten tags
This commit is contained in:
parent
d8c324ad2e
commit
97d8239837
|
@ -718,6 +718,10 @@
|
||||||
font-family: inherit;
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
u {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
h1::before {
|
h1::before {
|
||||||
content: '# ';
|
content: '# ';
|
||||||
}
|
}
|
||||||
|
@ -788,6 +792,11 @@
|
||||||
i {
|
i {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
font-size: smaller;
|
||||||
|
text-align: sub;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&.rich-blocks {
|
&.rich-blocks {
|
||||||
|
|
|
@ -20,7 +20,7 @@ class Sanitize
|
||||||
end
|
end
|
||||||
|
|
||||||
MASTODON_STRICT ||= freeze_config(
|
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: {
|
attributes: {
|
||||||
'a' => %w(href rel class title),
|
'a' => %w(href rel class title),
|
||||||
|
|
Loading…
Reference in a new issue