[FIX] tools html_sanitize: While editing mass mailing or other html fields, font size, foreground color/background color are not saved after changing them.

This commit is contained in:
Christophe Matthieu
2015-01-16 16:38:10 +01:00
parent ce1ed62676
commit 1d82bb16ca
+1 -1
View File
@@ -42,7 +42,7 @@ _logger = logging.getLogger(__name__)
#----------------------------------------------------------
tags_to_kill = ["script", "head", "meta", "title", "link", "style", "frame", "iframe", "base", "object", "embed"]
tags_to_remove = ['html', 'body', 'font']
tags_to_remove = ['html', 'body']
# allow new semantic HTML5 tags
allowed_tags = clean.defs.tags | frozenset('article section header footer hgroup nav aside figure main'.split() + [etree.Comment])