aboutsummaryrefslogtreecommitdiff
path: root/test/command/6699.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-09-25 09:05:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-09-25 09:06:15 -0700
commit188c444990f7ae70556f8bfc94b25c8dc7f77f98 (patch)
tree5e2343079bed34b1c63b241c4e5e9f0edee01a30 /test/command/6699.md
parent6119125a8b54f55c7e4c9a2f62d0282a2adcfb74 (diff)
downloadpandoc-188c444990f7ae70556f8bfc94b25c8dc7f77f98.tar.gz
RST reader: apply `.. class::` directly to following Header.
rather than creating a surrounding Div. Closes #6699.
Diffstat (limited to 'test/command/6699.md')
-rw-r--r--test/command/6699.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/6699.md b/test/command/6699.md
new file mode 100644
index 000000000..347e04577
--- /dev/null
+++ b/test/command/6699.md
@@ -0,0 +1,13 @@
+```
+% pandoc -f rst -t native
+.. class:: allowframebreaks
+
+title
+-----
+
+text
+^D
+[Header 1 ("title",["allowframebreaks"],[]) [Str "title"]
+,Para [Str "text"]]
+```
+