aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2021-10-03 21:46:27 -0700
committerJohn MacFarlane <[email protected]>2021-10-03 21:46:27 -0700
commitabe8a434c4e68c1828c69aee0b11f16d98c09612 (patch)
treef0615aad29caf4c751cdb4dd83d2cdeee3f1a025
parent1989e8dcc29f5069af4ee89c34016dccf493d428 (diff)
More test case fixes.
-rw-r--r--test/command/6774.md21
-rw-r--r--test/command/refs.md9
-rw-r--r--test/tables-rstsubset.native3
3 files changed, 21 insertions, 12 deletions
diff --git a/test/command/6774.md b/test/command/6774.md
index 5efab4274..9e1e4c52c 100644
--- a/test/command/6774.md
+++ b/test/command/6774.md
@@ -47,10 +47,23 @@ Lune</text:sequence-ref></text:p>
```
```
% pandoc -f native -t opendocument+xrefs_number --quiet
-[Header 1 ("chapter1",[],[]) [Str "The",Space,Str "Chapter"]
-,Para [Str "Chapter",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "The",Space,Str "Chapter"] ("#chapter1","")]
-,Para [Image ("lalune",[],[]) [Str "lalune"] ("lalune.jpg","fig:Voyage dans la Lune")]
-,Para [Str "Image",Space,Str "1",Space,Str "references",Space,Link ("",[],[]) [Str "La",Space,Str "Lune"] ("#lalune","")]]
+[ Header 1 ( "chapter1" , [] , [] ) [ Str "The Chapter" ]
+, Para
+ [ Str "Chapter 1 references "
+ , Link
+ ( "" , [] , [] ) [ Str "The Chapter" ] ( "#chapter1" , "" )
+ ]
+, Para
+ [ Image
+ ( "lalune" , [] , [] )
+ [ Str "lalune" ]
+ ( "lalune.jpg" , "fig:Voyage dans la Lune" )
+ ]
+, Para
+ [ Str "Image 1 references "
+ , Link ( "" , [] , [] ) [ Str "La Lune" ] ( "#lalune" , "" )
+ ]
+]
^D
<text:h text:style-name="Heading_20_1" text:outline-level="1"><text:bookmark-start text:name="chapter1" />The
Chapter<text:bookmark-end text:name="chapter1" /></text:h>
diff --git a/test/command/refs.md b/test/command/refs.md
index 819f90482..a0f7f564d 100644
--- a/test/command/refs.md
+++ b/test/command/refs.md
@@ -3,8 +3,7 @@
Figure \ref{fig:1}
^D
[ Para
- [ Str "Figure"
- , Space
+ [ Str "Figure "
, Link
( ""
, []
@@ -23,8 +22,7 @@ Figure \ref{fig:1}
Figure \cref{fig:1}
^D
[ Para
- [ Str "Figure"
- , Space
+ [ Str "Figure "
, Link
( ""
, []
@@ -43,8 +41,7 @@ Figure \cref{fig:1}
Figure \vref{fig:1}
^D
[ Para
- [ Str "Figure"
- , Space
+ [ Str "Figure "
, Link
( ""
, []
diff --git a/test/tables-rstsubset.native b/test/tables-rstsubset.native
index 474092289..2eb19afc5 100644
--- a/test/tables-rstsubset.native
+++ b/test/tables-rstsubset.native
@@ -387,8 +387,7 @@
(Caption
Nothing
[ Plain
- [ Str "Here\8217s the caption. It may span multiple lines."
- ]
+ [ Str "Here\8217s the caption. It may span multiple lines." ]
])
[ ( AlignDefault , ColWidth 0.15 )
, ( AlignDefault , ColWidth 0.1375 )