Add support for incoming <s> tag (#31375)

This commit is contained in:
Django 2024-08-12 05:10:05 -06:00 committed by Claire
parent 13bab94265
commit 29c35ef4f9

View file

@ -65,7 +65,7 @@ class Sanitize
end
MASTODON_STRICT ||= freeze_config(
elements: %w(p br span a del pre blockquote code b strong u i em ul ol li),
elements: %w(p br span a del s pre blockquote code b strong u i em ul ol li),
attributes: {
'a' => %w(href rel class translate),