ae22b1e977
With the recent changes to include infrastructure, included code blocks were getting an extra newline. Closes #7436. Added regression test.
14 lines
400 B
Markdown
14 lines
400 B
Markdown
```
|
|
% pandoc -f rst -t native
|
|
.. include:: command/three.txt
|
|
:code:
|
|
|
|
.. include:: command/three.txt
|
|
:literal:
|
|
|
|
.. include:: command/three.txt
|
|
^D
|
|
[CodeBlock ("",[""],[("code","")]) "1st line.\n2nd line.\n3rd line.\n"
|
|
,RawBlock (Format "rst") "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."]]
|
|
```
|