Ox.sanitizeHTML: include 'em' and 'strong' in default tags (otherwise sanitizing markdown fails)

This commit is contained in:
rolux 2012-06-23 12:48:17 +02:00
parent b272221020
commit ec4c46cb6c

View file

@ -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