changeset 4116:641814c82116

GUI editor converter: handle th in the same way as td (instead of giving traceback due to unhandled element)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 20 Sep 2008 14:50:03 +0200
parents f35e8fc79e8b
children 72ac60ad99c9
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	Sat Sep 20 14:30:17 2008 +0200
+++ b/MoinMoin/converter/text_html_text_moin_wiki.py	Sat Sep 20 14:50:03 2008 +0200
@@ -1195,7 +1195,7 @@
         for i in node.childNodes:
             if i.nodeType == Node.ELEMENT_NODE:
                 name = i.localName
-                if name == 'td':
+                if name in ('td', 'th', ):
                     self.process_table_data(i, style=style)
                     style = ""
                 else: