aboutsummaryrefslogtreecommitdiff
path: root/test/command/1592.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/1592.md')
-rw-r--r--test/command/1592.md46
1 files changed, 37 insertions, 9 deletions
diff --git a/test/command/1592.md b/test/command/1592.md
index 0f6151063..c3dc933a8 100644
--- a/test/command/1592.md
+++ b/test/command/1592.md
@@ -2,35 +2,35 @@
% pandoc -t native
[hi]{.smallcaps}
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -t native
[hi]{style="font-variant: small-caps;"}
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -t native
<span class="smallcaps">hi</span>
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -f html -t native
<p><span class="smallcaps">hi</span></p>
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
% pandoc -f html -t native
<p><span style="font-variant:small-caps">hi</span></p>
^D
-[Para [SmallCaps [Str "hi"]]]
+[ Para [ SmallCaps [ Str "hi" ] ] ]
```
```
@@ -41,7 +41,7 @@
```
```
-pandoc -f native -t markdown
+% pandoc -f native -t markdown
[Para [SmallCaps [Str "hi"]]]
^D
[hi]{.smallcaps}
@@ -51,14 +51,24 @@ pandoc -f native -t markdown
% pandoc -f html -t native
<bdo dir="ltr">foo</bdo>
^D
-[Plain [Span ("",[],[("dir","ltr")]) [Str "foo"]]]
+[ Plain
+ [ Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "foo" ] ]
+]
```
```
% pandoc -f html -t native
<bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
^D
-[Plain [Span ("",[],[("dir","rtl")]) [Str "foo",Span ("",[],[("dir","ltr")]) [Str "bar"],Str "baz"]]]
+[ Plain
+ [ Span
+ ( "" , [] , [ ( "dir" , "rtl" ) ] )
+ [ Str "foo"
+ , Span ( "" , [] , [ ( "dir" , "ltr" ) ] ) [ Str "bar" ]
+ , Str "baz"
+ ]
+ ]
+]
```
```
@@ -66,5 +76,23 @@ pandoc -f native -t markdown
<p><bdo dir="rtl">This text will go right
to left.</bdo></p>
^D
-[Para [Span ("",[],[("dir","rtl")]) [Str "This",Space,Str "text",Space,Str "will",Space,Str "go",Space,Str "right",SoftBreak,Str "to",Space,Str "left."]]]
+[ Para
+ [ Span
+ ( "" , [] , [ ( "dir" , "rtl" ) ] )
+ [ Str "This"
+ , Space
+ , Str "text"
+ , Space
+ , Str "will"
+ , Space
+ , Str "go"
+ , Space
+ , Str "right"
+ , SoftBreak
+ , Str "to"
+ , Space
+ , Str "left."
+ ]
+ ]
+]
```