From 06fb561bd6fb6e2ba7fcb2df1ab294e4a068eff4 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 2 Aug 2019 00:24:10 -0500 Subject: [PATCH] html5 has 2 strikethrough tags - support them both --- app/lib/sanitize_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/sanitize_config.rb b/app/lib/sanitize_config.rb index 3400070a0..05656ad76 100644 --- a/app/lib/sanitize_config.rb +++ b/app/lib/sanitize_config.rb @@ -121,7 +121,7 @@ class Sanitize end MASTODON_STRICT ||= freeze_config( - elements: %w(p br span a abbr del pre sub sup blockquote code b strong u i em h1 h2 h3 h4 h5 h6 ul ol li hr), + elements: %w(p br span a abbr del pre sub sup blockquote code b strong u i s em h1 h2 h3 h4 h5 h6 ul ol li hr), attributes: { 'a' => %w(href rel class title alt),