changeset 1515:b3a47164c22a

fix backticks vs. curly brackets confusion of gui converter (backport to 1.5)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 29 Aug 2006 17:01:55 +0200
parents b3665210e63e
children 6900a7906244
files MoinMoin/converter/text_html_text_moin_wiki.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/text_html_text_moin_wiki.py	Mon Aug 28 00:28:52 2006 +0200
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Tue Aug 29 17:01:55 2006 +0200
@@ -806,7 +806,7 @@
 
     def process_tt(self, node):
         text = self.node_list_text_only(node.childNodes).replace("\n", " ")
-        if node.getAttribute("css") == "backtick":
+        if node.getAttribute("class") == "backtick":
             self.text.append("`%s`" % text)
         else:
             self.text.append("{{{%s}}}" % text)