aboutsummaryrefslogtreecommitdiff
path: root/test/command/10825.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/10825.md')
-rw-r--r--test/command/10825.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/command/10825.md b/test/command/10825.md
new file mode 100644
index 000000000..90124aa2e
--- /dev/null
+++ b/test/command/10825.md
@@ -0,0 +1,39 @@
+```
+% pandoc -f docbook -t html
+<?xml version="1.0" encoding="utf-8"?>
+<book xmlns="http://docbook.org/ns/docbook" version="5.0">
+ <info><title>Literallayout test</title></info>
+ <chapter>
+ <info><title>Literallayout without class</title></info>
+ <literallayout>First line.
+Second line.
+ Third line, indented two spaces.</literallayout>
+ </chapter>
+ <chapter>
+ <info><title>Literallayout with normal class</title></info>
+ <literallayout class="normal">First line.
+Second line.
+ Third line, indented two spaces.</literallayout>
+ </chapter>
+ <chapter>
+ <info><title>Literallayout with monospaced</title></info>
+ <literallayout class="monospaced">First line.
+Second line.
+ Third line, indented two spaces.</literallayout>
+ </chapter>
+</book>
+^D
+<h1>Literallayout without class</h1>
+<div class="line-block">First line.<br />
+Second line.<br />
+  Third line, indented two spaces.</div>
+<h1>Literallayout with normal class</h1>
+<div class="line-block">First line.<br />
+Second line.<br />
+  Third line, indented two spaces.</div>
+<h1>Literallayout with monospaced</h1>
+<pre><code>First line.
+Second line.
+ Third line, indented two spaces.</code></pre>
+
+```