Allow comments in HTML (#1555)

* Re-allow HTML comments in sanitized HTML
This commit is contained in:
Kevin Chung
2020-07-19 21:07:20 -04:00
committed by GitHub
parent 9a2f46e182
commit 559306ee4f

View File

@@ -5,6 +5,7 @@ from lxml.html.clean import Cleaner # nosec B410
from lxml.html.defs import safe_attrs # nosec B410
cleaner = Cleaner(
comments=False,
page_structure=False,
embedded=False,
frames=False,