diff options
author | daniel-j-mac <daniel-j-mac@users.noreply.github.com> | 2017-01-17 09:03:23 -0500 |
---|---|---|
committer | Waylan Limberg <waylan.limberg@icloud.com> | 2017-01-17 09:03:23 -0500 |
commit | aefad1b7f199a3f1dfaf055ada6e88a920be34ec (patch) | |
tree | e16ae74d97ffddf6423632f63ab5a31c6e20c9ce | |
parent | dda33114ad36e2b1ca4d526f71787ba3414b9da7 (diff) | |
download | markdown-aefad1b7f199a3f1dfaf055ada6e88a920be34ec.tar.gz markdown-aefad1b7f199a3f1dfaf055ada6e88a920be34ec.tar.bz2 markdown-aefad1b7f199a3f1dfaf055ada6e88a920be34ec.zip |
Recognize <main> as an HTML5 block level tag. (#525)
-rw-r--r-- | markdown/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |