summaryrefslogtreecommitdiff
path: root/tests/util.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2013-09-26 20:32:10 -0400
committerWaylan Limberg <waylan@gmail.com>2013-09-26 20:32:10 -0400
commit884d25b7aad62478ae53eb9a3759bc2617959843 (patch)
treead950ba1aedf750e88065ced9942d1b92f429894 /tests/util.py
parent62e5485c0f4292717f48b4c16cdd6894c891716f (diff)
downloadpython-markdown-issue253.tar.gz
Partial fix for #253.issue253
This actually fixes the immediate problem. The method on the inlinePattern returns the correct subtree. However, for some reason, the parent element of that subtree is later stripped of all content (perhaps by the inlineplaceholder stuff). So, for example, given this input: ***foo** bar* The inlinepattern returns: <em><strong>foo</strong> bar</em> However, later it is reduced to: <em></em> Interestingly, this still works: ***foo*** Correctly becomes: <strong><em>foo</em></strong> I'm guessing that the tail on the `em` tag in the first instance is tripping things up some how.
Diffstat (limited to 'tests/util.py')
0 files changed, 0 insertions, 0 deletions