diff --git a/gillespy2/core/model.py b/gillespy2/core/model.py index f3857e54..1ff76dfb 100644 --- a/gillespy2/core/model.py +++ b/gillespy2/core/model.py @@ -1664,8 +1664,8 @@ def to_string(self): doc = eTree.tostring(self.document) xmldoc = xml.dom.minidom.parseString(doc) ugly_xml = xmldoc.toprettyxml(indent=' ') - text_re = re.compile(">\n\s+([^<>\s].*?)\n\s+\g<1>\n\s+([^<>\s].*?)\n\s+\g<1>