aboutsummaryrefslogtreecommitdiffstats
path: root/markdown/util.py
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-10-21 14:22:37 -0400
committerWaylan Limberg <waylan@gmail.com>2012-10-21 14:22:37 -0400
commit9c0959dd9b319819c13ffffbfa7185c8b9eba612 (patch)
tree19e5e268fe2bc27973c67f371ff5c6d0fcf42177 /markdown/util.py
parent0541e8e76f4ad2b8bfe302238eae85a77719e249 (diff)
downloadmarkdown-9c0959dd9b319819c13ffffbfa7185c8b9eba612.tar.gz
markdown-9c0959dd9b319819c13ffffbfa7185c8b9eba612.tar.bz2
markdown-9c0959dd9b319819c13ffffbfa7185c8b9eba612.zip
Fixed #151. Raw html matching is now case-insensitive.
Diffstat (limited to 'markdown/util.py')
-rw-r--r--markdown/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/markdown/util.py b/markdown/util.py
index 13cbff2..db45a5e 100644
--- a/markdown/util.py
+++ b/markdown/util.py
@@ -20,7 +20,7 @@ BLOCK_LEVEL_ELEMENTS = re.compile("^(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul"
"|hr|hr/|style|li|dt|dd|thead|tbody"
"|tr|th|td|section|footer|header|group|figure"
"|figcaption|aside|article|canvas|output"
- "|progress|video)$")
+ "|progress|video)$", re.IGNORECASE)
# Placeholders
STX = u'\u0002' # Use STX ("Start of text") for start-of-placeholder
ETX = u'\u0003' # Use ETX ("End of text") for end-of-placeholder