diff options
Diffstat (limited to 'mdx_tables.py')
-rwxr-xr-x | mdx_tables.py | 9 |
1 files changed, 2 insertions, 7 deletions
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> 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 |