def parse_wiki_markup(self, formatter, text):
     """
     Return result of parsing previously escaped text by MoinMoin wiki parser.
     Only allowed and therefore unescaped special command is '<<BR>>'.
     """
     unescaped_text = text.replace('&lt;&lt;BR&gt;&gt;', '<<BR>>')
     request = ScriptContext()
     buf = StringIO.StringIO()
     request.redirect(buf)
     wiki_parser = text_moin_wiki.Parser(unescaped_text, request)
     wiki_parser.format(formatter)
     return buf.getvalue().replace('\n', ' ')
 def parse_wiki_markup(self, formatter, text):
     """
     Return result of parsing previously escaped text by MoinMoin wiki parser.
     Only allowed and therefore unescaped special command is '<<BR>>'.
     """
     unescaped_text = text.replace('&lt;&lt;BR&gt;&gt;', '<<BR>>')
     request = ScriptContext()
     buf = StringIO.StringIO()
     request.redirect(buf)
     wiki_parser = text_moin_wiki.Parser(unescaped_text, request)
     wiki_parser.format(formatter)
     return buf.getvalue().replace('\n', ' ')