aboutsummaryrefslogtreecommitdiffstats
path: root/mdx_tables.py
diff options
context:
space:
mode:
authorArtem Yunusov <nedrlab@gmail.com>2008-08-04 22:38:43 +0500
committerArtem Yunusov <nedrlab@gmail.com>2008-08-04 22:38:43 +0500
commit2373a070d42d6b1910da5ca466ebeb0003dcb10e (patch)
tree6e3c239f29270d68d794063bf213b442df7c5dbe /mdx_tables.py
parent3f9ea693d71d24ad272000dfaaea5b886b18f68f (diff)
downloadmarkdown-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-xmdx_tables.py9
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