From 428c451692575f38bb684966114a250d3aa69e3e Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 14 Mar 2018 18:52:11 +0000 Subject: [PATCH] Added a missing tag to the sanitizer whitelist (telling lxml's Cleaner to not clean style with style=False is apparently not always enough). Fixes issue #2470. - Legacy-Id: 14794 --- ietf/utils/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/utils/html.py b/ietf/utils/html.py index 10a5b0e79..1d600671a 100644 --- a/ietf/utils/html.py +++ b/ietf/utils/html.py @@ -13,7 +13,7 @@ acceptable_tags = ('a', 'abbr', 'acronym', 'address', 'b', 'big', 'blockquote', 'body', 'br', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt', 'em', 'font', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'html', 'i', 'ins', 'kbd', - 'li', 'ol', 'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike', + 'li', 'ol', 'p', 'pre', 'q', 's', 'samp', 'small', 'span', 'strike', 'style', 'strong', 'sub', 'sup', 'table', 'title', 'tbody', 'td', 'tfoot', 'th', 'thead', 'tr', 'tt', 'u', 'ul', 'var')