aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-03-14 17:33:00 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-14 17:33:00 -0700
commitb76c0e6a4ad88c25edcd45eab4b102c881e90117 (patch)
treef20e32d92c9aa1c92e8c867fc520dce687084983
parent1b37e3b3c0708a5ddd500589edd10ced34bafae5 (diff)
downloadpandoc-b76c0e6a4ad88c25edcd45eab4b102c881e90117.tar.gz
RST reader: Allow unicode bullet characters.
Closes #4454.
-rw-r--r--src/Text/Pandoc/Readers/RST.hs2
-rw-r--r--test/command/4454.md9
2 files changed, 10 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/RST.hs b/src/Text/Pandoc/Readers/RST.hs
index e88d997f0..cf6ad30cf 100644
--- a/src/Text/Pandoc/Readers/RST.hs
+++ b/src/Text/Pandoc/Readers/RST.hs
@@ -80,7 +80,7 @@ type RSTParser m = ParserT [Char] ParserState m
---
bulletListMarkers :: [Char]
-bulletListMarkers = "*+-"
+bulletListMarkers = "*+-•‣⁃"
underlineChars :: [Char]
underlineChars = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~"
diff --git a/test/command/4454.md b/test/command/4454.md
new file mode 100644
index 000000000..db0b0a406
--- /dev/null
+++ b/test/command/4454.md
@@ -0,0 +1,9 @@
+```
+% pandoc -f rst -t native
+• a
+• b
+^D
+[BulletList
+ [[Plain [Str "a"]]
+ ,[Plain [Str "b"]]]]
+```