changeset 3997:238eceaf862d

add comment about prossible error
author Byeongweon [tasyblue@gmail.com]
date Thu, 07 Aug 2008 20:42:43 +0900
parents 40f10410e0b3
children 63a209dee4b3
files MoinMoin/converter/text_html_text_moin_wiki.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Tue Aug 05 09:29:13 2008 +0900
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Thu Aug 07 20:42:43 2008 +0900
@@ -923,6 +923,12 @@
             longest_inner_formater = ''
             bang_args = ''
 
+            """ 
+            below code fixed for MoinMoinBugs/GuiEditorCantNest bug
+            this has problem when outer delimiter has two more { than inside one
+            e.g. {{{{{{ {{{ foo }}} }}}}}}  --> {{{{ {{{ foo }}} }}}}
+            """ 
+
             for i in node.childNodes:
                 if i.nodeType == Node.TEXT_NODE:
                     # get longest pre tag({{{) from content