Description

The gui-editor removes the `` sign from words. InhaltsVerzeichnis``en becomes InhaltsVerzeichnisen.

Component selection

Details

MoinMoin Version

1.8-guieditor-mbyeongweon 3981:63a209dee4b3

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

You may want to write it

InhaltsVerzeichnis''en''

InhaltsVerzeichnisen

Discussion

Looks like the <tt class="backtick"></tt> gets lost somehow.

savetext = u'<p class="line867"><a href="/FooBar" class="nonexistent">FooBar</a>s</p><p class="line874"></p>'

   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))
backtick.patch

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/GuiEditorRemovesEscapingCharForPlural (last edited 2009-01-19 01:07:18 by ReimarBauer)