about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-02 00:24:10 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-02 00:24:10 -0500
commit06fb561bd6fb6e2ba7fcb2df1ab294e4a068eff4 (patch)
treee65b029f67b489d75f10a4750dcea9957a9fa89e /app/lib
parenta6e34404a2aa3adfe032ed5ba852750ae92decc4 (diff)
html5 has 2 strikethrough tags - support them both
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/sanitize_config.rb2
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),