summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.native16
-rw-r--r--tests/testsuite.txt6
-rw-r--r--tests/writer.html2
-rw-r--r--tests/writer.latex2
-rw-r--r--tests/writer.markdown12
-rw-r--r--tests/writer.native16
-rw-r--r--tests/writer.rst2
-rw-r--r--tests/writer.rtf2
-rw-r--r--tests/writer.smart.html2
9 files changed, 30 insertions, 30 deletions
diff --git a/tests/testsuite.native b/tests/testsuite.native
index 4f1efaec7..81b601870 100644
--- a/tests/testsuite.native
+++ b/tests/testsuite.native
@@ -277,18 +277,18 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
, Para [Str "Foo",Space,Link [Str "bar"] (Ref [Str "a"]),Str "."]
, Para [Str "Foo",Space,Link [Str "bar"] (Ref [Str "a"]),Str "."]
, Key [Str "a"] (Src "/url/" "")
-, Para [Str "With",Space,Link [Str "embedded",Space,Link [Str "brackets"] (Ref [])] (Ref [Str "b"]),Str "."]
-, Para [Link [Str "b"] (Ref []),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-, Para [Str "Indented",Space,Link [Str "once"] (Ref []),Str "."]
-, Para [Str "Indented",Space,Link [Str "twice"] (Ref []),Str "."]
-, Para [Str "Indented",Space,Link [Str "thrice"] (Ref []),Str "."]
-, Para [Str "This",Space,Str "should",Space,Link [Str "not"] (Ref []),Space,Str "be",Space,Str "a",Space,Str "link."]
+, Para [Str "With",Space,Link [Str "embedded",Space,Str "[",Str "brackets",Str "]"] (Ref [Str "b"]),Str "."]
+, Para [Link [Str "b"] (Ref [Str "b"]),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
+, Para [Str "Indented",Space,Link [Str "once"] (Ref [Str "once"]),Str "."]
+, Para [Str "Indented",Space,Link [Str "twice"] (Ref [Str "twice"]),Str "."]
+, Para [Str "Indented",Space,Link [Str "thrice"] (Ref [Str "thrice"]),Str "."]
+, Para [Str "This",Space,Str "should",Space,Str "[",Str "not",Str "]",Str "[",Str "]",Space,Str "be",Space,Str "a",Space,Str "link."]
, Key [Str "once"] (Src "/url" "")
, Key [Str "twice"] (Src "/url" "")
, Key [Str "thrice"] (Src "/url" "")
, CodeBlock "[not]: /url"
, Key [Str "b"] (Src "/url/" "")
-, Para [Str "Foo",Space,Link [Str "bar"] (Ref []),Str "."]
+, Para [Str "Foo",Space,Link [Str "bar"] (Ref [Str "bar"]),Str "."]
, Para [Str "Foo",Space,Link [Str "biz"] (Src "/url/" "Title with "quote" inside"),Str "."]
, Key [Str "bar"] (Src "/url/" "Title with "quotes" inside")
, Header 2 [Str "With",Space,Str "ampersands"]
@@ -313,7 +313,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
, HorizontalRule
, Header 1 [Str "Images"]
, Para [Str "From",Space,Str "\"Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune\"",Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-, Para [Image [Str "lalune"] (Ref [])]
+, Para [Image [Str "lalune"] (Ref [Str "lalune"])]
, Key [Str "lalune"] (Src "lalune.jpg" "Voyage dans la Lune")
, Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image [Str "movie"] (Src "movie.jpg" ""),Space,Str "icon."]
, HorizontalRule
diff --git a/tests/testsuite.txt b/tests/testsuite.txt
index 2d3b7967d..f8bf68526 100644
--- a/tests/testsuite.txt
+++ b/tests/testsuite.txt
@@ -498,7 +498,7 @@ Just a [URL](/url/).
[URL and title](/url/ "title preceded by a tab").
-[URL and title](/url/ "title with \"quotes\" in it")
+[URL and title](/url/ "title with "quotes" in it")
[URL and title](/url/ 'title with single quotes')
@@ -541,9 +541,9 @@ This should [not][] be a link.
Foo [bar][].
-Foo [biz](/url/ "Title with \"quote\" inside").
+Foo [biz](/url/ "Title with "quote" inside").
- [bar]: /url/ "Title with \"quotes\" inside"
+ [bar]: /url/ "Title with "quotes" inside"
## With ampersands
diff --git a/tests/writer.html b/tests/writer.html
index e4f5c5d0c..191b1982e 100644
--- a/tests/writer.html
+++ b/tests/writer.html
@@ -407,7 +407,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
<p>Indented <a href="/url">once</a>.</p>
<p>Indented <a href="/url">twice</a>.</p>
<p>Indented <a href="/url">thrice</a>.</p>
-<p>This should [not] be a link.</p>
+<p>This should [not][] be a link.</p>
<pre><code>[not]: /url
</code></pre>
<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>
diff --git a/tests/writer.latex b/tests/writer.latex
index dec35635a..68976465a 100644
--- a/tests/writer.latex
+++ b/tests/writer.latex
@@ -514,7 +514,7 @@ Indented \href{/url}{twice}.
Indented \href{/url}{thrice}.
-This should [not] be a link.
+This should [not][] be a link.
\begin{verbatim}
[not]: /url
diff --git a/tests/writer.markdown b/tests/writer.markdown
index 5dc995eed..f41501e37 100644
--- a/tests/writer.markdown
+++ b/tests/writer.markdown
@@ -529,15 +529,15 @@ Foo [bar][a].
[a]: /url/
-With [embedded [brackets][]][b].
+With [embedded [brackets]][b].
-[b][] by itself should be a link.
+[b] by itself should be a link.
-Indented [once][].
+Indented [once].
-Indented [twice][].
+Indented [twice].
-Indented [thrice][].
+Indented [thrice].
This should [not][] be a link.
@@ -550,7 +550,7 @@ This should [not][] be a link.
[b]: /url/
-Foo [bar][].
+Foo [bar].
Foo [biz](/url/ "Title with &quot;quote&quot; inside").
diff --git a/tests/writer.native b/tests/writer.native
index 4f1efaec7..81b601870 100644
--- a/tests/writer.native
+++ b/tests/writer.native
@@ -277,18 +277,18 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
, Para [Str "Foo",Space,Link [Str "bar"] (Ref [Str "a"]),Str "."]
, Para [Str "Foo",Space,Link [Str "bar"] (Ref [Str "a"]),Str "."]
, Key [Str "a"] (Src "/url/" "")
-, Para [Str "With",Space,Link [Str "embedded",Space,Link [Str "brackets"] (Ref [])] (Ref [Str "b"]),Str "."]
-, Para [Link [Str "b"] (Ref []),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
-, Para [Str "Indented",Space,Link [Str "once"] (Ref []),Str "."]
-, Para [Str "Indented",Space,Link [Str "twice"] (Ref []),Str "."]
-, Para [Str "Indented",Space,Link [Str "thrice"] (Ref []),Str "."]
-, Para [Str "This",Space,Str "should",Space,Link [Str "not"] (Ref []),Space,Str "be",Space,Str "a",Space,Str "link."]
+, Para [Str "With",Space,Link [Str "embedded",Space,Str "[",Str "brackets",Str "]"] (Ref [Str "b"]),Str "."]
+, Para [Link [Str "b"] (Ref [Str "b"]),Space,Str "by",Space,Str "itself",Space,Str "should",Space,Str "be",Space,Str "a",Space,Str "link."]
+, Para [Str "Indented",Space,Link [Str "once"] (Ref [Str "once"]),Str "."]
+, Para [Str "Indented",Space,Link [Str "twice"] (Ref [Str "twice"]),Str "."]
+, Para [Str "Indented",Space,Link [Str "thrice"] (Ref [Str "thrice"]),Str "."]
+, Para [Str "This",Space,Str "should",Space,Str "[",Str "not",Str "]",Str "[",Str "]",Space,Str "be",Space,Str "a",Space,Str "link."]
, Key [Str "once"] (Src "/url" "")
, Key [Str "twice"] (Src "/url" "")
, Key [Str "thrice"] (Src "/url" "")
, CodeBlock "[not]: /url"
, Key [Str "b"] (Src "/url/" "")
-, Para [Str "Foo",Space,Link [Str "bar"] (Ref []),Str "."]
+, Para [Str "Foo",Space,Link [Str "bar"] (Ref [Str "bar"]),Str "."]
, Para [Str "Foo",Space,Link [Str "biz"] (Src "/url/" "Title with &quot;quote&quot; inside"),Str "."]
, Key [Str "bar"] (Src "/url/" "Title with &quot;quotes&quot; inside")
, Header 2 [Str "With",Space,Str "ampersands"]
@@ -313,7 +313,7 @@ Pandoc (Meta [Str "Pandoc",Space,Str "Test",Space,Str "Suite"] ["John MacFarlane
, HorizontalRule
, Header 1 [Str "Images"]
, Para [Str "From",Space,Str "\"Voyage",Space,Str "dans",Space,Str "la",Space,Str "Lune\"",Space,Str "by",Space,Str "Georges",Space,Str "Melies",Space,Str "(1902):"]
-, Para [Image [Str "lalune"] (Ref [])]
+, Para [Image [Str "lalune"] (Ref [Str "lalune"])]
, Key [Str "lalune"] (Src "lalune.jpg" "Voyage dans la Lune")
, Para [Str "Here",Space,Str "is",Space,Str "a",Space,Str "movie",Space,Image [Str "movie"] (Src "movie.jpg" ""),Space,Str "icon."]
, HorizontalRule
diff --git a/tests/writer.rst b/tests/writer.rst
index 1ae88ad2d..e929fdd8f 100644
--- a/tests/writer.rst
+++ b/tests/writer.rst
@@ -638,7 +638,7 @@ Indented `twice`_.
Indented `thrice`_.
-This should [not] be a link.
+This should [not][] be a link.
::
diff --git a/tests/writer.rtf b/tests/writer.rtf
index 0993bb202..6cbae7a32 100644
--- a/tests/writer.rtf
+++ b/tests/writer.rtf
@@ -312,7 +312,7 @@ twice
thrice
}}}
.\par}
-{\pard \f0 \sa180 \li0 \fi0 This should [not] be a link.\par}
+{\pard \f0 \sa180 \li0 \fi0 This should [not][] be a link.\par}
{\pard \f0 \sa180 \li0 \fi0 \f1 [not]: /url\par}
{\pard \f0 \sa180 \li0 \fi0 Foo {\field{\*\fldinst{HYPERLINK "/url/"}}{\fldrslt{\ul
bar
diff --git a/tests/writer.smart.html b/tests/writer.smart.html
index 1c2574966..c14a6de54 100644
--- a/tests/writer.smart.html
+++ b/tests/writer.smart.html
@@ -407,7 +407,7 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+'Email link'+'<\/'+'a'+'>')
<p>Indented <a href="/url">once</a>.</p>
<p>Indented <a href="/url">twice</a>.</p>
<p>Indented <a href="/url">thrice</a>.</p>
-<p>This should [not] be a link.</p>
+<p>This should [not][] be a link.</p>
<pre><code>[not]: /url
</code></pre>
<p>Foo <a href="/url/" title="Title with &quot;quotes&quot; inside">bar</a>.</p>