From aefad1b7f199a3f1dfaf055ada6e88a920be34ec Mon Sep 17 00:00:00 2001 From: daniel-j-mac Date: Tue, 17 Jan 2017 09:03:23 -0500 Subject: Recognize
as an HTML5 block level tag. (#525) --- markdown/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown/util.py b/markdown/util.py index d3d48f0..b37e5ae 100644 --- a/markdown/util.py +++ b/markdown/util.py @@ -32,7 +32,7 @@ BLOCK_LEVEL_ELEMENTS = re.compile( "|hr|hr/|style|li|dt|dd|thead|tbody" "|tr|th|td|section|footer|header|group|figure" "|figcaption|aside|article|canvas|output" - "|progress|video|nav)$", + "|progress|video|nav|main)$", re.IGNORECASE ) # Placeholders -- cgit v1.2.3