changeset 2942:d3f05a117edb

process th tags like td tags within html_in converter, fixes #518
author RogerHaase <haaserd@gmail.com>
date Wed, 06 May 2015 07:14:05 -0700
parents e6779224aed9
children 39d57a15fdef
files MoinMoin/converter/html_in.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/html_in.py	Tue Apr 28 12:47:43 2015 -0700
+++ b/MoinMoin/converter/html_in.py	Wed May 06 07:14:05 2015 -0700
@@ -558,6 +558,10 @@
             attrib[moin_page('number-columns-spanned')] = colspan
         return self.new_copy(moin_page.table_cell, element, attrib=attrib)
 
+    def visit_xhtml_th(self, element):
+        """html_out does not support th tags, so we do td tags like all other converters."""
+        return self.visit_xhtml_td(element)
+
 
 from . import default_registry
 from MoinMoin.util.mime import Type, type_moin_document