summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-04-08 18:20:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2022-04-08 18:20:56 -0700
commit813f3d5dd483eb968ddfce310e95844d289d124b (patch)
tree19c8870cd540029678eed4f0e01920a94732825c /test/command
parent7fb74b74df705742001ca583c4070b29e61ea275 (diff)
Shared.taskListItemToAscii: handle asciidoctor's characters.
Asciidoctor uses different unicode characters for task lists; we should recognize them too and be able to convert them to ascii task lists in formats like gfm. Closes #8011.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8011.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/8011.md b/test/command/8011.md
new file mode 100644
index 000000000..0a79ed9e2
--- /dev/null
+++ b/test/command/8011.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f docbook -t gfm
+<itemizedlist mark="none">
+<listitem>
+<simpara>&#10063; a</simpara>
+</listitem>
+<listitem>
+<simpara>&#10003; b</simpara>
+</listitem>
+</itemizedlist>
+^D
+- [ ] a
+
+- [x] b
+```