Skip to content

Commit fe251d9

Browse files
committed
Merge pull request gjtorikian#120 from charliesome/allow-strike
Allow <s> and <strike>
2 parents ad89a4b + 11cec3d commit fe251d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/html/pipeline/sanitization_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ class SanitizationFilter < Filter
4545
:elements => %w(
4646
h1 h2 h3 h4 h5 h6 h7 h8 br b i strong em a pre code img tt
4747
div ins del sup sub p ol ul table thead tbody tfoot blockquote
48-
dl dt dd kbd q samp var hr ruby rt rp li tr td th
48+
dl dt dd kbd q samp var hr ruby rt rp li tr td th s strike
4949
),
5050
:remove_contents => ['script'],
5151
:attributes => {

0 commit comments

Comments
 (0)