diff options
Diffstat (limited to 'grc/base/ParseXML.py')
-rw-r--r-- | grc/base/ParseXML.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/base/ParseXML.py b/grc/base/ParseXML.py index 2d5fed0862..e05fc1428d 100644 --- a/grc/base/ParseXML.py +++ b/grc/base/ParseXML.py @@ -21,6 +21,7 @@ from lxml import etree from . import odict xml_failures = {} +etree.set_default_parser(etree.XMLParser(remove_comments=True)) class XMLSyntaxError(Exception): |