Skip to content

Commit

Permalink
Update README.rdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
detournemint authored Jan 30, 2018
1 parent 4808b36 commit c34fa19
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c34fa19

Please sign in to comment.