From 238899faacc9fae8a31099153b44713bdb6beabb Mon Sep 17 00:00:00 2001 From: Julian Arni Date: Tue, 10 Sep 2013 13:59:25 -0400 Subject: [PATCH] Make default parser keep comments --- common/lib/xmodule/xmodule/modulestore/xml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/modulestore/xml.py b/common/lib/xmodule/xmodule/modulestore/xml.py index dd7888179b..97e7beef04 100644 --- a/common/lib/xmodule/xmodule/modulestore/xml.py +++ b/common/lib/xmodule/xmodule/modulestore/xml.py @@ -29,7 +29,7 @@ from .exceptions import ItemNotFoundError from .inheritance import compute_inherited_metadata edx_xml_parser = etree.XMLParser(dtd_validation=False, load_dtd=False, - remove_comments=True, remove_blank_text=True) + remove_comments=False, remove_blank_text=True) etree.set_default_parser(edx_xml_parser)