summaryrefslogtreecommitdiff
path: root/tests/test_markup.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-04 18:11:17 +0200
committerGeorg Brandl <georg@python.org>2009-06-04 18:11:17 +0200
commit501adbdb6ff3918a39b3a7373a2edc13615373be (patch)
treed2e55e7f55fd5001a285c08b4851a666de5a8b19 /tests/test_markup.py
parent42d12d86833f00b852622de7db2633aa9a532a1d (diff)
downloadsphinx-git-501adbdb6ff3918a39b3a7373a2edc13615373be.tar.gz
#191: Don't escape the tilde in URIs in LaTeX.
Diffstat (limited to 'tests/test_markup.py')
-rw-r--r--tests/test_markup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_markup.py b/tests/test_markup.py
index 77f2016ed..d65b798e8 100644
--- a/tests/test_markup.py
+++ b/tests/test_markup.py
@@ -118,3 +118,6 @@ def test_latex_escaping():
u'\\begin{Verbatim}[commandchars=@\\[\\]]\n'
u'@PYGZat[]@(@Gamma@)\\@(@infty@)@$@PYGZlb[]@PYGZrb[]\n'
u'\\end{Verbatim}')
+ # in URIs
+ yield (verify, u'`test <http://example.com/~me/>`_', None,
+ u'\\href{http://example.com/~me/}{test}')