aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordaniel-j-mac <daniel-j-mac@users.noreply.github.com>2017-01-17 09:03:23 -0500
committerWaylan Limberg <waylan.limberg@icloud.com>2017-01-17 09:03:23 -0500
commitaefad1b7f199a3f1dfaf055ada6e88a920be34ec (patch)
treee16ae74d97ffddf6423632f63ab5a31c6e20c9ce
parentdda33114ad36e2b1ca4d526f71787ba3414b9da7 (diff)
downloadmarkdown-aefad1b7f199a3f1dfaf055ada6e88a920be34ec.tar.gz
markdown-aefad1b7f199a3f1dfaf055ada6e88a920be34ec.tar.bz2
markdown-aefad1b7f199a3f1dfaf055ada6e88a920be34ec.zip
Recognize <main> as an HTML5 block level tag. (#525)
-rw-r--r--markdown/util.py2
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