changeset 2851:fe477591e2c0

text_html_text_moin_wiki: process_inline node.localName of 'br' appends ' <<BR>> '
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 20 Sep 2007 20:50:03 +0200
parents 8a5c932ad8ab
children fd6ad1421faf
files MoinMoin/converter/text_html_text_moin_wiki.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Thu Sep 20 19:33:05 2007 +0200
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Thu Sep 20 20:50:03 2007 +0200
@@ -745,6 +745,10 @@
             self.text.append(text)                          # so we just drop the header markup and keep the text
             return
 
+        if name == 'br':
+            self.text.append(' <<BR>> ')
+            return
+
         func = getattr(self, "process_%s" % name, None)
         if func:
             func(node)