summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-12-15 12:38:36 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2022-12-15 12:38:36 -0800
commit1698af8885d1d8a4e4ed9cdd03274c0e7446acd0 (patch)
treedf37b8dffb699e699daa31cf7e570c948fdff803 /test/command
parent200ad70d9d9e7963e710525481cc32d16177c636 (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/command')
-rw-r--r--test/command/8487.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/8487.md b/test/command/8487.md
new file mode 100644
index 000000000..7cd3e486f
--- /dev/null
+++ b/test/command/8487.md
@@ -0,0 +1,14 @@
+```
+% pandoc -f textile -t native
+p>.
+
+p=. Links:
+^D
+[ Div
+ ( "" , [] , [ ( "style" , "text-align:right;" ) ] )
+ [ Para [] ]
+, Div
+ ( "" , [] , [ ( "style" , "text-align:center;" ) ] )
+ [ Para [ Str "Links:" ] ]
+]
+```