summaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-07-15 16:42:39 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-07-15 16:42:39 -0700
commitc24ab1491808d8be98ab30ba6b3993fa075ca376 (patch)
treea7dce329e3f32846b249aac79794cbcc1eb7f40c /tests/writer.latex
parent73b063021749d00701d2196f51b7db925b760f2d (diff)
LaTeX writer: Use \nolinkurl in email autolinks.
This allows them to be styled using `\urlstyle{tt}`. Thanks to Ulrike Fischer for the solution.
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index 1ac79feca..bf08c7111 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -888,7 +888,8 @@ With an ampersand: \url{http://example.com/?foo=1\&bar=2}
It should.
\end{itemize}
-An e-mail address: \href{mailto:nobody@nowhere.net}{nobody@nowhere.net}
+An e-mail address:
+\href{mailto:nobody@nowhere.net}{\nolinkurl{nobody@nowhere.net}}
\begin{quote}
Blockquoted: \url{http://example.com/}