aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.latex
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-03 22:14:32 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-08-03 22:14:32 +0000
commit271c3f987e468b77ac9209e9efe3bbaa51717039 (patch)
tree53b8b8e1595850909c9142d2b3c5ae3ee0b9d68f /tests/writer.latex
parentee46ee5fa9d2b186091864aea1aa2f6ffc9a9a14 (diff)
downloadpandoc-271c3f987e468b77ac9209e9efe3bbaa51717039.tar.gz
Use \url{} for autolinks in LaTeX writer.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@832 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.latex')
-rw-r--r--tests/writer.latex6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/writer.latex b/tests/writer.latex
index 215630fa1..15c4e558a 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -590,17 +590,17 @@ Here's an \href{/script?foo=1&bar=2}{inline link in pointy braces}.
\subsection{Autolinks}
-With an ampersand: \href{http://example.com/?foo=1&bar=2}{\texttt{http://example.com/?foo=1\&bar=2}}
+With an ampersand: \url{http://example.com/?foo=1&bar=2}
\begin{itemize}
\item In a list?
-\item \href{http://example.com/}{\texttt{http://example.com/}}
+\item \url{http://example.com/}
\item It should.
\end{itemize}
An e-mail address: \href{mailto:nobody@nowhere.net}{\texttt{nobody@nowhere.net}}
\begin{quote}
-Blockquoted: \href{http://example.com/}{\texttt{http://example.com/}}
+Blockquoted: \url{http://example.com/}
\end{quote}
Auto-links should not occur here: \verb!<http://example.com/>!