diff options
| author | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2008-02-15 19:25:44 +0000 |
|---|---|---|
| committer | grubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2008-02-15 19:25:44 +0000 |
| commit | 6edba714c0be8e7022842d60566be18e1c08c090 (patch) | |
| tree | b70ea779dc48f5f767f14c0ad7d6b74d8232ea35 /docutils/test | |
| parent | b6f517e2bd880f7a760ba26344dbcb07a07e9e8e (diff) | |
| download | docutils-6edba714c0be8e7022842d60566be18e1c08c090.tar.gz | |
Fix: escaping ``%`` in href urls.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5512 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test')
| -rwxr-xr-x | docutils/test/test_writers/test_latex2e.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docutils/test/test_writers/test_latex2e.py b/docutils/test/test_writers/test_latex2e.py index 84e263f59..fea5e537c 100755 --- a/docutils/test/test_writers/test_latex2e.py +++ b/docutils/test/test_writers/test_latex2e.py @@ -87,6 +87,23 @@ totest = {} totest_latex_toc = {} totest_latex_citations = {} +totest['url_chars'] = [ +["http://nowhere/url_with%28parens%29", +latex_head + """\ +\\title{} +\\author{} +\\date{} +\\raggedbottom +\\begin{document} + +\\setlength{\\locallinewidth}{\\linewidth} + +\\href{http://nowhere/url_with\\%28parens\\%29}{http://nowhere/url{\\_}with{\\%}28parens{\\%}29} + +\\end{document} +"""], +] + totest['table_of_contents'] = [ # input ["""\ |
