From cbd702c752971b0f55e88cdb08ccf6965061bbf4 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Tue, 4 Nov 2008 17:29:41 -0500 Subject: Added definition list items (dt & dd) to html block elements. --- markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/markdown.py b/markdown.py index 368886c..b534f27 100755 --- a/markdown.py +++ b/markdown.py @@ -70,7 +70,7 @@ SMART_EMPHASIS = True # this_or_that does not become thisorthat HTML_REMOVED_TEXT = "[HTML_REMOVED]" # text used instead of HTML in safe mode BLOCK_LEVEL_ELEMENTS = re.compile("p|div|h[1-6]|blockquote|pre|table|dl|ol|ul" +"|script|noscript|form|fieldset|iframe|math" - +"|ins|del|hr|hr/|style|li|tr") + +"|ins|del|hr|hr/|style|li|dt|dd|tr") """ Constants you probably do not need to change -- cgit v1.2.3