summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@gmail.com>2018-09-25 17:00:03 +0300
committerDmitry Shachnev <mitya57@gmail.com>2018-09-25 17:00:03 +0300
commitdc1a4e5fab14e772378c954db0d0aeb1dc579663 (patch)
tree8f390eefcfbedf34eb16b4df1fb177ee2a25c53e
parentebe3485f38cb9065cfc58915e663b02be31aa19a (diff)
downloadpython-markdown-dc1a4e5fab14e772378c954db0d0aeb1dc579663.tar.gz
Add a test for the markdown/serializers.py change
-rw-r--r--tests/test_syntax/inline/test_links.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_syntax/inline/test_links.py b/tests/test_syntax/inline/test_links.py
index 3e8593f..e147c82 100644
--- a/tests/test_syntax/inline/test_links.py
+++ b/tests/test_syntax/inline/test_links.py
@@ -130,3 +130,7 @@ class TestAdvancedLinks(TestCase):
'[title](http://example.com/?a=1&amp;b=2)',
'<p><a href="http://example.com/?a=1&amp;b=2">title</a></p>'
)
+ self.assertMarkdownRenders(
+ '[title](http://example.com/?a=1&#x26;b=2)',
+ '<p><a href="http://example.com/?a=1&#x26;b=2">title</a></p>'
+ )