Skip to content

Commit 76f85f5

Browse files
committed
Update expected output for pandoc-3 Figure handling
1 parent 506235b commit 76f85f5

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

expected-auto.native

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,16 @@
117117
, Space
118118
, Str "updated."
119119
]
120-
, Para
121-
[ Image
122-
( "" , [] , [] )
123-
[ Str "Image" , Space , Str "title" ]
124-
( "subdir/someimage.png" , "fig:" )
120+
, Figure
121+
( "" , [] , [] )
122+
(Caption
123+
Nothing [ Plain [ Str "Image" , Space , Str "title" ] ])
124+
[ Plain
125+
[ Image
126+
( "" , [] , [] )
127+
[ Str "Image" , Space , Str "title" ]
128+
( "subdir/someimage.png" , "" )
129+
]
125130
]
126131
, Header
127132
2

expected.native

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,16 @@
117117
, Space
118118
, Str "updated."
119119
]
120-
, Para
121-
[ Image
122-
( "" , [] , [] )
123-
[ Str "Image" , Space , Str "title" ]
124-
( "subdir/someimage.png" , "fig:" )
120+
, Figure
121+
( "" , [] , [] )
122+
(Caption
123+
Nothing [ Plain [ Str "Image" , Space , Str "title" ] ])
124+
[ Plain
125+
[ Image
126+
( "" , [] , [] )
127+
[ Str "Image" , Space , Str "title" ]
128+
( "subdir/someimage.png" , "" )
129+
]
125130
]
126131
, Header
127132
1

0 commit comments

Comments
 (0)