diff MoinMoin/PageGraphicalEditor.py @ 3390:f1ba94b7913d

GUI editor: fixed javascript error by using a simpler word_rule_js regex
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 21 Mar 2008 13:31:24 +0100
parents 398ab9187a50
children af3460a4cb79
line wrap: on
line diff
--- a/MoinMoin/PageGraphicalEditor.py	Fri Mar 21 12:51:01 2008 +0100
+++ b/MoinMoin/PageGraphicalEditor.py	Fri Mar 21 13:31:24 2008 +0100
@@ -35,7 +35,7 @@
     """ Same as PageEditor, but use the GUI editor (FCKeditor) """
     def word_rule(self):
         regex = re.compile(r"\(\?<![^)]*?\)")
-        word_rule = regex.sub("", WikiParser.word_rule)
+        word_rule = regex.sub("", WikiParser.word_rule_js)
         return repr(word_rule)[1:]
 
     def sendEditor(self, **kw):