summaryrefslogtreecommitdiff
path: root/grc/core/ParseXML.py
diff options
context:
space:
mode:
Diffstat (limited to 'grc/core/ParseXML.py')
-rw-r--r--grc/core/ParseXML.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/grc/core/ParseXML.py b/grc/core/ParseXML.py
index 987fa2a13d..c9f6541ee7 100644
--- a/grc/core/ParseXML.py
+++ b/grc/core/ParseXML.py
@@ -22,6 +22,7 @@ from lxml import etree
from .utils import odict
xml_failures = {}
+etree.set_default_parser(etree.XMLParser(remove_comments=True))
class XMLSyntaxError(Exception):