diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-02 00:24:10 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-02 00:24:10 -0500 |
commit | 06fb561bd6fb6e2ba7fcb2df1ab294e4a068eff4 (patch) | |
tree | e65b029f67b489d75f10a4750dcea9957a9fa89e | |
parent | a6e34404a2aa3adfe032ed5ba852750ae92decc4 (diff) |
html5 has 2 strikethrough tags - support them both
-rw-r--r-- | app/lib/sanitize_config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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), |