We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 816fa51 commit ee7bd6aCopy full SHA for ee7bd6a
1 file changed
textile/core.py
@@ -344,8 +344,8 @@ def fTable(self, match):
344
# versions differ) and then format the resulting string
345
# accordingly: newline and tab between cols and a newline at
346
# the end
347
- colgrp = re.sub(r"<\?xml version='1.0' encoding='UTF-8'\?>\n",
348
- '', colgrp)
+ colgrp = colgrp.replace("<?xml version='1.0' "
+ "encoding='UTF-8'?>\n", '')
349
colgrp = '{0}\n'.format(colgrp.replace('><', '>\n\t<'))
350
351
# If the row has a newline in it, account for the missing
0 commit comments