diff options
author | Artem Yunusov <nedrlab@gmail.com> | 2008-08-04 22:38:43 +0500 |
---|---|---|
committer | Artem Yunusov <nedrlab@gmail.com> | 2008-08-04 22:38:43 +0500 |
commit | 2373a070d42d6b1910da5ca466ebeb0003dcb10e (patch) | |
tree | 6e3c239f29270d68d794063bf213b442df7c5dbe /mdx_tables.py | |
parent | 3f9ea693d71d24ad272000dfaaea5b886b18f68f (diff) | |
download | markdown-2373a070d42d6b1910da5ca466ebeb0003dcb10e.tar.gz markdown-2373a070d42d6b1910da5ca466ebeb0003dcb10e.tar.bz2 markdown-2373a070d42d6b1910da5ca466ebeb0003dcb10e.zip |
Added reset methods for InlineStash and HtmlStash. Some cleanups and comments modifications.
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 |