Attachment 'moin-1.9.patch'

Download

   1 diff -r 371fb8e44d41 MoinMoin/parser/highlight.py
   2 --- a/MoinMoin/parser/highlight.py	Thu Nov 13 11:21:51 2014 +0100
   3 +++ b/MoinMoin/parser/highlight.py	Wed Feb 04 15:01:30 2015 -0800
   4 @@ -183,7 +183,7 @@
   5                                                                                                                }
   6                  lexer = pygments.lexers.TextLexer()
   7  
   8 -        fmt.result.append(formatter.code_area(1, self._code_id, self.parsername, self.show_nums, self.num_start, self.num_step, msg))
   9 +        fmt.result.append(formatter.code_area(1, self._code_id, self.syntax, self.show_nums, self.num_start, self.num_step, msg))
  10          pygments.highlight(self.raw, lexer, fmt)
  11          fmt.result.append(formatter.code_area(0, self._code_id))
  12          fmt.result.append(formatter.div(0))

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] (2015-02-04 23:04:40, 0.8 KB) [[attachment:moin-1.9.patch]]
 All files | Selected Files: delete move to page copy to page

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