mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 14:04:20 +01:00
Allow comments in HTML (#1555)
* Re-allow HTML comments in sanitized HTML
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user