From 9852c2263ef7775d2a508a9c1721148cbf3ae258 Mon Sep 17 00:00:00 2001 From: fin Date: Wed, 11 Apr 2012 19:45:09 +0200 Subject: Remove `` and `` from html block element list They are span elements. `` is explicitly mentioned as such in the [markdown syntax document](http://daringfireball.net/projects/markdown/syntax) --- markdown/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/util.py b/markdown/util.py index 998211e..13cbff2 100644 --- a/markdown/util.py +++ b/markdown/util.py @@ -17,7 +17,7 @@ Constants you might want to modify BLOCK_LEVEL_ELEMENTS = re.compile("^(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul" "|script|noscript|form|fieldset|iframe|math" - "|ins|del|hr|hr/|style|li|dt|dd|thead|tbody" + "|hr|hr/|style|li|dt|dd|thead|tbody" "|tr|th|td|section|footer|header|group|figure" "|figcaption|aside|article|canvas|output" "|progress|video)$") -- cgit v1.2.3