diff options
Diffstat (limited to 'test/command/4811.md')
-rw-r--r-- | test/command/4811.md | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/test/command/4811.md b/test/command/4811.md index 81a60d78d..4c0b0faa9 100644 --- a/test/command/4811.md +++ b/test/command/4811.md @@ -6,8 +6,7 @@ No blank lines in inline interpreted roles: blank`:myrole: ^D -[Para [Str "`no"] -,Para [Str "blank`:myrole:"]] +[ Para [ Str "`no" ] , Para [ Str "blank`:myrole:" ] ] ``` Backslash escape behaves properly in interpreted roles: @@ -18,8 +17,9 @@ Backslash escape behaves properly in interpreted roles: `hi\ there`:code: ^D -[Para [Superscript [Str "hithere"]] -,Para [Code ("",[],[]) "hi\\ there"]] +[ Para [ Superscript [ Str "hithere" ] ] +, Para [ Code ( "" , [] , [] ) "hi\\ there" ] +] ``` Backtick followed by alphanumeric doesn't end the span: @@ -27,7 +27,12 @@ Backtick followed by alphanumeric doesn't end the span: % pandoc -f rst -t native `hi`there`:myrole: ^D -[Para [Code ("",["interpreted-text"],[("role","myrole")]) "hi`there"]] +[ Para + [ Code + ( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] ) + "hi`there" + ] +] ``` Newline is okay, as long as not blank: @@ -36,7 +41,12 @@ Newline is okay, as long as not blank: `hi there`:myrole: ^D -[Para [Code ("",["interpreted-text"],[("role","myrole")]) "hi\nthere"]] +[ Para + [ Code + ( "" , [ "interpreted-text" ] , [ ( "role" , "myrole" ) ] ) + "hi\nthere" + ] +] ``` Use span for title-reference: @@ -44,5 +54,7 @@ Use span for title-reference: % pandoc -f rst -t native `default` ^D -[Para [Span ("",["title-ref"],[]) [Str "default"]]] +[ Para + [ Span ( "" , [ "title-ref" ] , [] ) [ Str "default" ] ] +] ``` |