py_ext/PythonFileCTNMixin.py
changeset 1766 c1e5b9f19483
parent 1764 d5df428640ff
child 1768 691083b5682a
--- a/py_ext/PythonFileCTNMixin.py	Thu Aug 17 16:26:32 2017 +0300
+++ b/py_ext/PythonFileCTNMixin.py	Thu Aug 17 17:25:17 2017 +0300
@@ -61,8 +61,8 @@
                 'xmlns="http://www.w3.org/2001/XMLSchema"',
                 'xmlns:xhtml="http://www.w3.org/1999/xhtml"')
             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>")]:
                 pythonfile_xml = cre.sub(repl, pythonfile_xml)
 
             try: