diff options
author | Waylan Limberg <waylan@gmail.com> | 2014-01-12 18:25:11 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2014-01-12 18:25:11 -0500 |
commit | bdf7bf290ad72d0fc70612c8c0ca614c4d5939bb (patch) | |
tree | 3fed550fc5707869afa40b1151ca7e7c7e2f24de /markdown | |
parent | 28d61f5b6b1e0863857c9e1368b3f7698c2f67dd (diff) | |
parent | 73fdecaf2cf00d85b7c933f5b8d186d74a80ff2a (diff) | |
download | markdown-bdf7bf290ad72d0fc70612c8c0ca614c4d5939bb.tar.gz markdown-bdf7bf290ad72d0fc70612c8c0ca614c4d5939bb.tar.bz2 markdown-bdf7bf290ad72d0fc70612c8c0ca614c4d5939bb.zip |
Merge branch 'master' of github.com:waylan/Python-Markdown
Diffstat (limited to 'markdown')
-rw-r--r-- | markdown/extensions/attr_list.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/markdown/extensions/attr_list.py b/markdown/extensions/attr_list.py index fabc925..8b65f56 100644 --- a/markdown/extensions/attr_list.py +++ b/markdown/extensions/attr_list.py @@ -121,6 +121,8 @@ class AttrListTreeprocessor(Treeprocessor): elif elem.text: # no children. Get from text. m = RE.search(elem.text) + if not m and elem.tag == 'td': + m = re.search(self.BASE_RE, elem.text) if m: self.assign_attrs(elem, m.group(1)) elem.text = elem.text[:m.start()] |