Attachment 'workaround_gui_editor_bug.diff'

Download

   1 --- moin-1.6.070814-unpatched/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py	2007-08-14 01:44:13.000000000 +0200
   2 +++ moin-engine/lib/python2.5/site-packages/MoinMoin/parser/text_moin_wiki.py	2007-08-22 17:41:55.000000000 +0200
   3 @@ -957,6 +957,9 @@
   4              strings, outputting verbatim any intervening text.
   5          """
   6          self.formatter = formatter
   7 +        # workaround for http://moinmo.in/MoinMoinBugs/1.6devMarkupCrashesGUIEditor
   8 +        if not hasattr(formatter, 'page'):
   9 +            formatter.page = self.request.page
  10          self.hilite_re = self.formatter.page.hilite_re
  11  
  12          # prepare regex patterns

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2007-08-22 15:45:59, 0.6 KB) [[attachment:workaround_gui_editor_bug.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.