aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--markdown/__init__.py2
-rw-r--r--tests/basic/backlash-escapes.html1
-rw-r--r--tests/basic/backlash-escapes.txt2
3 files changed, 4 insertions, 1 deletions
diff --git a/markdown/__init__.py b/markdown/__init__.py
index 2aafcf6..0f7978b 100644
--- a/markdown/__init__.py
+++ b/markdown/__init__.py
@@ -74,7 +74,7 @@ class Markdown:
}
ESCAPED_CHARS = ['\\', '`', '*', '_', '{', '}', '[', ']',
- '(', ')', '#', '+', '-', '.', '!']
+ '(', ')', '>', '#', '+', '-', '.', '!']
def __init__(self, *args, **kwargs):
"""
diff --git a/tests/basic/backlash-escapes.html b/tests/basic/backlash-escapes.html
index e2a9445..ef7c4b5 100644
--- a/tests/basic/backlash-escapes.html
+++ b/tests/basic/backlash-escapes.html
@@ -9,6 +9,7 @@
<p>Right bracket: ]</p>
<p>Left paren: (</p>
<p>Right paren: )</p>
+<p>Greater-than: ></p>
<p>Hash: #</p>
<p>Period: .</p>
<p>Bang: !</p>
diff --git a/tests/basic/backlash-escapes.txt b/tests/basic/backlash-escapes.txt
index ffb3cd0..16447a0 100644
--- a/tests/basic/backlash-escapes.txt
+++ b/tests/basic/backlash-escapes.txt
@@ -20,6 +20,8 @@ Left paren: \(
Right paren: \)
+Greater-than: \>
+
Hash: \#
Period: \.