mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-17 17:39:54 +08:00
RST reader: Fix :literal: includes.
These should create code blocks, not insert raw RST. Closes #7513.
This commit is contained in:
@@ -9,6 +9,6 @@
|
||||
.. include:: command/three.txt
|
||||
^D
|
||||
[CodeBlock ("",[""],[("code","")]) "1st line.\n2nd line.\n3rd line.\n"
|
||||
,RawBlock (Format "rst") "1st line.\n2nd line.\n3rd line.\n"
|
||||
,CodeBlock ("",[""],[("literal","")]) "1st line.\n2nd line.\n3rd line.\n"
|
||||
,Para [Str "1st",Space,Str "line.",SoftBreak,Str "2nd",Space,Str "line.",SoftBreak,Str "3rd",Space,Str "line."]]
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user