Attachment 'backtick.patch'

Download

   1 diff -r c76d50dac855 MoinMoin/parser/text_moin_wiki.py
   2 --- a/MoinMoin/parser/text_moin_wiki.py	Mon Jan 19 01:20:04 2009 +0100
   3 +++ b/MoinMoin/parser/text_moin_wiki.py	Mon Jan 19 02:06:28 2009 +0100
   4 @@ -573,7 +573,8 @@
   5  
   6      def _tt_bt_repl(self, word, groups):
   7          """Handle backticked inline code."""
   8 -        tt_bt_text = groups.get('tt_bt_text', '')
   9 +        tt_bt_text = groups.get('tt_bt_text', '') or " "
  10 +        # backtick class make backtick markup when code has this class 
  11          return (self.formatter.code(1, css="backtick") +
  12                  self.formatter.text(tt_bt_text) +
  13                  self.formatter.code(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] (2009-01-19 01:06:48, 0.6 KB) [[attachment:backtick.patch]]
 All files | Selected Files: delete move to page copy to page

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