From 5c9b35c3f8af989cf2a8d22f1bb9d8140641cd5b Mon Sep 17 00:00:00 2001 From: Gregg Horton Date: Tue, 30 Jan 2018 10:28:53 -0800 Subject: [PATCH] Update README.rdoc --- README.rdoc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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