CodeFileTreeNode.py
changeset 1766 c1e5b9f19483
parent 1758 845ca626db09
child 1767 c74815729afd
--- a/CodeFileTreeNode.py	Thu Aug 17 16:26:32 2017 +0300
+++ b/CodeFileTreeNode.py	Thu Aug 17 17:25:17 2017 +0300
@@ -113,8 +113,8 @@
                 '<%s>' % self.CODEFILE_NAME,
                 '<%s xmlns:xhtml="http://www.w3.org/1999/xhtml">' % self.CODEFILE_NAME)
             for cre, repl in [
-                (re.compile("(?<!<xhtml:p>)(?:<!\[CDATA\[)"), "<xhtml:p><![CDATA["),
-                (re.compile("(?:]]>)(?!</xhtml:p>)"), "]]></xhtml:p>")]:
+                    (re.compile("(?<!<xhtml:p>)(?:<!\[CDATA\[)"), "<xhtml:p><![CDATA["),
+                    (re.compile("(?:]]>)(?!</xhtml:p>)"), "]]></xhtml:p>")]:
                 codefile_xml = cre.sub(repl, codefile_xml)
 
             try: