mirror of https://github.com/mastodon/mastodon
Add support for incoming <s> tag (#31375)
This commit is contained in:
parent
3abb5c0eaa
commit
709dcd07f2
|
@ -65,7 +65,7 @@ class Sanitize
|
||||||
end
|
end
|
||||||
|
|
||||||
MASTODON_STRICT = freeze_config(
|
MASTODON_STRICT = freeze_config(
|
||||||
elements: %w(p br span a del pre blockquote code b strong u i em ul ol li ruby rt rp),
|
elements: %w(p br span a del s pre blockquote code b strong u i em ul ol li ruby rt rp),
|
||||||
|
|
||||||
attributes: {
|
attributes: {
|
||||||
'a' => %w(href rel class translate),
|
'a' => %w(href rel class translate),
|
||||||
|
|
Loading…
Reference in New Issue