From eea2ee00fb6c7a490a179f1c0ac1546a87ea67a8 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sat, 9 Feb 2008 04:51:51 +0000 Subject: Fixed rawhtml to properly honor , <@foo>, and <%foo>. Fixed [1861160] --- markdown.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'markdown.py') diff --git a/markdown.py b/markdown.py index 2279c91..1fd00e5 100644 --- a/markdown.py +++ b/markdown.py @@ -494,7 +494,7 @@ class HtmlBlockPreprocessor (Preprocessor): def _equal_tags(self, left_tag, right_tag): - if left_tag in ['?', '?php', 'div']: # handle PHP, etc. + if left_tag == 'div' or left_tag[0] in ['?', '@', '%']: # handle PHP, etc. return True if ("/" + left_tag) == right_tag: return True -- cgit v1.2.3