aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan.limberg@icloud.com>2018-07-27 10:14:40 -0400
committerWaylan Limberg <waylan.limberg@icloud.com>2018-07-27 10:25:07 -0400
commit55d69f408cfabed6bd5953a4e7bfc926df2ac25b (patch)
treed244bba57ac73bd989d3ab6c25cd9ca14771425e
parent6ee07d2735d86d7a3d0b31c3409d42d31997a96c (diff)
downloadmarkdown-55d69f408cfabed6bd5953a4e7bfc926df2ac25b.tar.gz
markdown-55d69f408cfabed6bd5953a4e7bfc926df2ac25b.tar.bz2
markdown-55d69f408cfabed6bd5953a4e7bfc926df2ac25b.zip
Add 'style' to block level elements
Fixes #689.
-rw-r--r--markdown/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/util.py b/markdown/util.py
index 697cf45..d7701a2 100644
--- a/markdown/util.py
+++ b/markdown/util.py
@@ -39,7 +39,7 @@ BLOCK_LEVEL_ELEMENTS = [
'section', 'table', 'ul',
# Other elements which Markdown should not be mucking up the contents of.
'canvas', 'dd', 'dt', 'group', 'iframe', 'li', 'math', 'noscript', 'output',
- 'progress', 'script', 'tbody', 'td', 'th', 'thead', 'tr', 'video'
+ 'progress', 'script', 'style', 'tbody', 'td', 'th', 'thead', 'tr', 'video'
]
# Placeholders