diff options
Diffstat (limited to 'markdown/__init__.py')
-rw-r--r-- | markdown/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py index 4c5f993..31ab29c 100644 --- a/markdown/__init__.py +++ b/markdown/__init__.py @@ -69,7 +69,8 @@ DEFAULT_OUTPUT_FORMAT = 'xhtml1' # xhtml or html4 output 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|dt|dd|tr") + "|ins|del|hr|hr/|style|li|dt|dd|thead|tbody" + "|tr|th|td") DOC_TAG = "div" # Element used to wrap document - later removed # Placeholders |