diff options
| author | John MacFarlane <[email protected]> | 2022-12-15 12:38:36 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-12-15 12:38:36 -0800 |
| commit | 1698af8885d1d8a4e4ed9cdd03274c0e7446acd0 (patch) | |
| tree | df37b8dffb699e699daa31cf7e570c948fdff803 /test/textile-reader.native | |
| parent | 200ad70d9d9e7963e710525481cc32d16177c636 (diff) | |
Textile reader: handle empty paragraphs.
Also, if attributes are added explicitly to a paragraph,
put it in a Div with the attributes.
Closes #8487.
Diffstat (limited to 'test/textile-reader.native')
| -rw-r--r-- | test/textile-reader.native | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/test/textile-reader.native b/test/textile-reader.native index a9c78ec8f..184c1da90 100644 --- a/test/textile-reader.native +++ b/test/textile-reader.native @@ -1072,18 +1072,21 @@ Pandoc ( "" , [] , [ ( "style" , "color:red;" ) ] ) [ Str "all" , Space , Str "kind" ] ] - , Para - [ Str "and" - , Space - , Str "paragraph" - , Space - , Str "attributes," - , Space - , Str "and" - , Space - , Str "table" - , Space - , Str "attributes." + , Div + ( "" , [] , [ ( "style" , "color:green;" ) ] ) + [ Para + [ Str "and" + , Space + , Str "paragraph" + , Space + , Str "attributes," + , Space + , Str "and" + , Space + , Str "table" + , Space + , Str "attributes." + ] ] , Table ( "" , [] , [] ) |
