From ec4c46cb6cfcfc52feaf89d69f3915acaf3b19c2 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 23 Jun 2012 12:48:17 +0200 Subject: [PATCH] Ox.sanitizeHTML: include 'em' and 'strong' in default tags (otherwise sanitizing markdown fails) --- source/Ox/js/HTML.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox/js/HTML.js b/source/Ox/js/HTML.js index cd4634a9..b4b0b530 100644 --- a/source/Ox/js/HTML.js +++ b/source/Ox/js/HTML.js @@ -4,7 +4,7 @@ var defaultTags = [ // inline formatting - 'b', 'code', 'i', 's', 'sub', 'sup', 'u', + 'b', 'code', 'em', 'i', 's', 'strong', 'sub', 'sup', 'u', // block formatting 'blockquote', 'h1', 'h2', 'h3', 'p', 'pre', // lists