aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/postprocessors.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-01-30 05:53:51 -0500
committerWaylan Limberg <waylan@gmail.com>2012-01-30 05:53:51 -0500
commitc56085ee71fd67567a3d08964f7d48a93abe7fbc (patch)
tree291c7ec1445202081498cbc68678b21ac705d77a /markdown/postprocessors.py
parent07f2057734b745793e7ad6f86d36d286fd718e70 (diff)
downloadmarkdown-c56085ee71fd67567a3d08964f7d48a93abe7fbc.tar.gz
markdown-c56085ee71fd67567a3d08964f7d48a93abe7fbc.tar.bz2
markdown-c56085ee71fd67567a3d08964f7d48a93abe7fbc.zip
Fixed #77. util.isBlockLevel() needs to check entire tag passed to it.
Diffstat (limited to 'markdown/postprocessors.py')
-rw-r--r--markdown/postprocessors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/postprocessors.py b/markdown/postprocessors.py
index 672953a..071791a 100644
--- a/markdown/postprocessors.py
+++ b/markdown/postprocessors.py
@@ -72,7 +72,7 @@ class RawHtmlPostprocessor(Postprocessor):
return html.replace('"', '&quot;')
def isblocklevel(self, html):
- m = re.match(r'^\<\/?([^ ]+)', html)
+ m = re.match(r'^\<\/?([^ >]+)', html)
if m:
if m.group(1)[0] in ('!', '?', '@', '%'):
# Comment, php etc...