summaryrefslogtreecommitdiff
path: root/test/testsuite.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-25 12:50:43 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-25 12:57:31 +0200
commit708973a33a0ce425bb21a5ffa06fbdab465d3fb8 (patch)
treeb0cf3d0dd00f098384d7a813e3754aa80b2bb512 /test/testsuite.txt
parent650e1ac1fdbbb172c58c1898607a7f82806cf55e (diff)
Added `spaced_reference_links` extension.
This is now the default for pandoc's Markdown. It allows whitespace between the two parts of a reference link: e.g. [a] [b] [b]: url This is now forbidden by default. Closes #2602.
Diffstat (limited to 'test/testsuite.txt')
-rw-r--r--test/testsuite.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/testsuite.txt b/test/testsuite.txt
index f6b0a7c95..9413cc81a 100644
--- a/test/testsuite.txt
+++ b/test/testsuite.txt
@@ -621,16 +621,11 @@ Just a [URL](/url/).
## Reference
-Foo [bar] [a].
-
Foo [bar][a].
-Foo [bar]
-[a].
-
[a]: /url/
-With [embedded [brackets]] [b].
+With [embedded [brackets]][b].
[b] by itself should be a link.
@@ -659,9 +654,9 @@ Foo [biz](/url/ "Title with "quote" inside").
## With ampersands
-Here's a [link with an ampersand in the URL] [1].
+Here's a [link with an ampersand in the URL][1].
-Here's a link with an amersand in the link text: [AT&T] [2].
+Here's a link with an amersand in the link text: [AT&T][2].
Here's an [inline link](/script?foo=1&bar=2).