Permalink
Browse files

Update README.rdoc

  • Loading branch information...
greggawatt committed Jan 30, 2018
1 parent 4808b36 commit c34fa195ca540b2bea84d9cfe1813e070e4ed154
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.rdoc
@@ -171,6 +171,12 @@ Example:
Will become:

<acronym title="American Civil Liberties Union">ACLU</acronym>

== Filtering HTML

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

== Adding Tables

0 comments on commit c34fa19

Please sign in to comment.