aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfin <fin+github@xbhd.org>2012-04-11 19:45:09 +0200
committerfin <fin+github@xbhd.org>2012-04-11 19:45:09 +0200
commit9852c2263ef7775d2a508a9c1721148cbf3ae258 (patch)
treeb931876543e5aa537602ace175bca40fa9544358
parentb3e0359421ee0a649975ca29635ac8c0d7cf7641 (diff)
downloadmarkdown-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.py2
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)$")