aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-11-04 17:29:41 -0500
committerWaylan Limberg <waylan@gmail.com>2008-11-04 17:29:41 -0500
commitcbd702c752971b0f55e88cdb08ccf6965061bbf4 (patch)
tree800fcfe8db2cb8ac20d2bca6e4d3e08b9cb6b556
parenta5917de7e6dd1b4c063bf328c3a2f2f689df687d (diff)
downloadmarkdown-cbd702c752971b0f55e88cdb08ccf6965061bbf4.tar.gz
markdown-cbd702c752971b0f55e88cdb08ccf6965061bbf4.tar.bz2
markdown-cbd702c752971b0f55e88cdb08ccf6965061bbf4.zip
Added definition list items (dt & dd) to html block elements.
-rwxr-xr-xmarkdown.py2
1 files changed, 1 insertions, 1 deletions
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 this<i>or</i>that
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