diff options
author | fin <fin+github@xbhd.org> | 2012-04-11 19:45:09 +0200 |
---|---|---|
committer | fin <fin+github@xbhd.org> | 2012-04-11 19:45:09 +0200 |
commit | 9852c2263ef7775d2a508a9c1721148cbf3ae258 (patch) | |
tree | b931876543e5aa537602ace175bca40fa9544358 | |
parent | b3e0359421ee0a649975ca29635ac8c0d7cf7641 (diff) | |
download | markdown-9852c2263ef7775d2a508a9c1721148cbf3ae258.tar.gz markdown-9852c2263ef7775d2a508a9c1721148cbf3ae258.tar.bz2 markdown-9852c2263ef7775d2a508a9c1721148cbf3ae258.zip |
Remove `<ins>` and `<del>` from html block element list
They are span elements. `<del>` is explicitly mentioned as such in the [markdown syntax document](http://daringfireball.net/projects/markdown/syntax)
-rw-r--r-- | markdown/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/util.py b/markdown/util.py index 998211e..13cbff2 100644 --- a/markdown/util.py +++ b/markdown/util.py @@ -17,7 +17,7 @@ Constants you might want to modify 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|thead|tbody" + "|hr|hr/|style|li|dt|dd|thead|tbody" "|tr|th|td|section|footer|header|group|figure" "|figcaption|aside|article|canvas|output" "|progress|video)$") |