From dd06d6354081f478e99d864ac4343896ec887eda Mon Sep 17 00:00:00 2001 From: Tristan de Cacqueray Date: Sat, 11 Apr 2020 16:57:59 +0000 Subject: HTML reader: support (#6271) See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo Closes #5794 --- test/command/1592.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'test') diff --git a/test/command/1592.md b/test/command/1592.md index 54e59137b..0f6151063 100644 --- a/test/command/1592.md +++ b/test/command/1592.md @@ -47,3 +47,24 @@ pandoc -f native -t markdown [hi]{.smallcaps} ``` +``` +% pandoc -f html -t native +foo +^D +[Plain [Span ("",[],[("dir","ltr")]) [Str "foo"]]] +``` + +``` +% pandoc -f html -t native +foobarbaz +^D +[Plain [Span ("",[],[("dir","rtl")]) [Str "foo",Span ("",[],[("dir","ltr")]) [Str "bar"],Str "baz"]]] +``` + +``` +% pandoc -f html -t native +

This text will go right +to left.

+^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."]]] +``` -- cgit v1.2.3