From 40f225967eaf29d025050867b78c942907a3c9db Mon Sep 17 00:00:00 2001 From: benoitl Date: Fri, 6 May 2011 06:39:08 -0700 Subject: [PATCH] Allow html5 embed tag --- lib/markdown2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/markdown2.py b/lib/markdown2.py index 65cab6fb..2c5f658a 100755 --- a/lib/markdown2.py +++ b/lib/markdown2.py @@ -468,7 +468,7 @@ def _detab(self, text): # I broke out the html5 tags here and add them to _block_tags_a and # _block_tags_b. This way html5 tags are easy to keep track of. - _html5tags = '|article|aside|header|hgroup|footer|nav|section|figure|figcaption' + _html5tags = '|article|aside|header|hgroup|footer|nav|section|figure|figcaption|embed' _block_tags_a = 'p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del' _block_tags_a += _html5tags