@@ -47,3 +47,24 @@ pandoc -f native -t markdown
4747[hi]{.smallcaps}
4848```
4949
50+```
51+% pandoc -f html -t native
52+<bdo dir="ltr">foo</bdo>
53+^D
54+[Plain [Span ("",[],[("dir","ltr")]) [Str "foo"]]]
55+```
56+
57+```
58+% pandoc -f html -t native
59+<bdo dir="rtl">foo<bdo dir="ltr">bar</bdo>baz</bdo>
60+^D
61+[Plain [Span ("",[],[("dir","rtl")]) [Str "foo",Span ("",[],[("dir","ltr")]) [Str "bar"],Str "baz"]]]
62+```
63+
64+```
65+% pandoc -f html -t native
66+<p><bdo dir="rtl">This text will go right
67+to left.</bdo></p>
68+^D
69+[Para [Span ("",[],[("dir","rtl")]) [Str "This",Space,Str "text",Space,Str "will",Space,Str "go",Space,Str "right",SoftBreak,Str "to",Space,Str "left."]]]
70+```