Permalink
Browse files

Update README.rdoc

  • Loading branch information...
greggawatt committed Jan 30, 2018
1 parent c34fa19 commit 5c9b35c3f8af989cf2a8d22f1bb9d8140641cd5b
Showing with 3 additions and 2 deletions.
  1. +3 −2 README.rdoc
@@ -174,9 +174,10 @@ Will become:

== Filtering HTML

RedCloth doesn't filter unsafe html tags by default, do to this use the following syntax
RedCloth doesn't filter unsafe html tags by default, do to this use the following syntax:
RedCloth.new("<script>alert(1)</script>", [:filter_html]).to_html
which will strip the script tags from the resulting HTML
which will filter the script tags from the HTML resulting in:
"&lt;script&gt;alert(1)&lt;/script&gt;"

== Adding Tables

0 comments on commit 5c9b35c

Please sign in to comment.