diff --git a/README.rdoc b/README.rdoc index b86f36a5..013d8102 100644 --- a/README.rdoc +++ b/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("", [: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: + "<script>alert(1)</script>" == Adding Tables