From c34fa195ca540b2bea84d9cfe1813e070e4ed154 Mon Sep 17 00:00:00 2001 From: Gregg Horton Date: Tue, 30 Jan 2018 10:26:03 -0800 Subject: [PATCH] Update README.rdoc --- README.rdoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.rdoc b/README.rdoc index 30f2fdd1..b86f36a5 100644 --- a/README.rdoc +++ b/README.rdoc @@ -171,6 +171,12 @@ Example: Will become: ACLU + +== Filtering HTML + +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 == Adding Tables