aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2018-06-30 11:45:49 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-06-30 11:45:49 +0200
commit016e0a09e2e2ffa823157a28a3a7f0268b9c6f42 (patch)
tree991225dba7a1c2d9fcdb733177746ae26d29319d /test
parentce83a128e1ceee879069d5e0dda8402aa2cbed32 (diff)
downloadpandoc-016e0a09e2e2ffa823157a28a3a7f0268b9c6f42.tar.gz
RST writer: don't treat 'example' as a syntax name.
This fixes conversions from org with example blocks. Closes #4748.
Diffstat (limited to 'test')
-rw-r--r--test/command/4748.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/command/4748.md b/test/command/4748.md
new file mode 100644
index 000000000..1de0fa9ed
--- /dev/null
+++ b/test/command/4748.md
@@ -0,0 +1,16 @@
+```
+% pandoc -f org -t rst
+Before example block.
+#+begin_example
+This is in an example block.
+#+end_example
+After example block.
+^D
+Before example block.
+
+::
+
+ This is in an example block.
+
+After example block.
+```