From 2373a070d42d6b1910da5ca466ebeb0003dcb10e Mon Sep 17 00:00:00 2001 From: Artem Yunusov Date: Mon, 4 Aug 2008 22:38:43 +0500 Subject: Added reset methods for InlineStash and HtmlStash. Some cleanups and comments modifications. --- mdx_tables.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'mdx_tables.py') diff --git a/mdx_tables.py b/mdx_tables.py index 5c7881a..829044c 100755 --- a/mdx_tables.py +++ b/mdx_tables.py @@ -29,19 +29,14 @@ class TablePattern(markdown.Pattern) : # otherwise it is a td = etree.Element('td') - # apply inline patterns on chunks - '''for n in self.md._handleInline(t): - if(type(n) == unicode): - td.text = n - else: - td.appendChild(n)''' + # add text ot inline section, later it will be + # processed by core inline = etree.SubElement(td, "inline") inline.text = t tr.append(td) tr.tail = "\n" - #print etree.tostring(tr) return tr -- cgit v1.2.3