From 55d69f408cfabed6bd5953a4e7bfc926df2ac25b Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Fri, 27 Jul 2018 10:14:40 -0400 Subject: Add 'style' to block level elements Fixes #689. --- markdown/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3