aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.context
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-04-30 08:58:10 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-04-30 08:58:10 -0700
commit093229dc35506bff88f4edc6f2ae5316d621f8ff (patch)
tree797a888f0be1290686a6a2c3a5119fd174fa557a /tests/writer.context
parent7f86f95f3613677d515974f66660dad99a260b8b (diff)
downloadpandoc-093229dc35506bff88f4edc6f2ae5316d621f8ff.tar.gz
ConTeXt writer: Improved autolinks.
Closes #1270.
Diffstat (limited to 'tests/writer.context')
-rw-r--r--tests/writer.context10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/writer.context b/tests/writer.context
index 0b031fd76..0c5024d89 100644
--- a/tests/writer.context
+++ b/tests/writer.context
@@ -813,24 +813,22 @@ braces]\from[url26].
\subsection[autolinks]{Autolinks}
-With an ampersand:
-\useURL[url27][http://example.com/?foo=1&bar=2][][\hyphenatedurl{http://example.com/?foo=1&bar=2}]\from[url27]
+With an ampersand: \useURL[url27][http://example.com/?foo=1&bar=2]\from[url27]
\startitemize[packed]
\item
In a list?
\item
- \useURL[url28][http://example.com/][][\hyphenatedurl{http://example.com/}]\from[url28]
+ \useURL[url28][http://example.com/]\from[url28]
\item
It should.
\stopitemize
An e-mail address:
-\useURL[url29][mailto:nobody@nowhere.net][][\hyphenatedurl{nobody@nowhere.net}]\from[url29]
+\useURL[url29][mailto:nobody@nowhere.net][][nobody@nowhere.net]\from[url29]
\startblockquote
-Blockquoted:
-\useURL[url30][http://example.com/][][\hyphenatedurl{http://example.com/}]\from[url30]
+Blockquoted: \useURL[url30][http://example.com/]\from[url30]
\stopblockquote
Auto-links should not occur here: \type{<http://example.com/>}