aboutsummaryrefslogtreecommitdiffstats
path: root/markdown.py
diff options
context:
space:
mode:
Diffstat (limited to 'markdown.py')
-rw-r--r--markdown.py2
1 files changed, 1 insertions, 1 deletions
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