summaryrefslogtreecommitdiffstats
path: root/regress/man/IP/literal.out_html
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-10-16 17:22:43 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-10-16 17:22:43 +0000
commite6ebe29e01dda236ae873eb8841f10bc6640c8d5 (patch)
treeafc871e929a8e1bccec831668c7997844336bf37 /regress/man/IP/literal.out_html
parent8539c24bce93430b560ca288ae81e8c90993e54b (diff)
downloadmandoc-e6ebe29e01dda236ae873eb8841f10bc6640c8d5.tar.gz
In HTML output, avoid printing a newline right after <pre>
and right before </pre> because that resulted in vertical whitespace not requested by the manual page author. Formatting bug reported by Aman Verma <amanraoverma plus vim at gmail dot com> on discuss@.
Diffstat (limited to 'regress/man/IP/literal.out_html')
-rw-r--r--regress/man/IP/literal.out_html42
1 files changed, 14 insertions, 28 deletions
diff --git a/regress/man/IP/literal.out_html b/regress/man/IP/literal.out_html
index aa0536e7..ceb26a56 100644
--- a/regress/man/IP/literal.out_html
+++ b/regress/man/IP/literal.out_html
@@ -3,42 +3,32 @@
<dd>indented regular text</dd>
</dl>
<p class="Pp">new regular paragraph</p>
-<pre>
-literal
-text
-</pre>
+<pre>literal
+text</pre>
<dl class="Bl-tag">
<dt id="tag~2"><a class="permalink" href="#tag~2">tag</a></dt>
<dd>
- <pre>
-indented
+ <pre>indented
literal
-text
- </pre>
+text</pre>
</dd>
</dl>
-<pre>
-new
+<pre>new
literal
-paragraph
-</pre>
+paragraph</pre>
regular text
<section class="Ss">
<h2 class="Ss" id="literal_into_indented_paragraph"><a class="permalink" href="#literal_into_indented_paragraph">literal
into indented paragraph</a></h2>
<p class="Pp">regular text</p>
-<pre>
-literal
-text
-</pre>
+<pre>literal
+text</pre>
<dl class="Bl-tag">
<dt id="tag~3"><a class="permalink" href="#tag~3">tag</a></dt>
<dd>
- <pre>
-indented
+ <pre>indented
literal
-text
- </pre>
+text</pre>
indented regular text</dd>
</dl>
<p class="Pp">new regular paragraph</p>
@@ -50,17 +40,13 @@ text
<dl class="Bl-tag">
<dt id="tag~4"><a class="permalink" href="#tag~4">tag</a></dt>
<dd>indented regular text
- <pre>
-indented
+ <pre>indented
literal
-text
- </pre>
+text</pre>
</dd>
</dl>
-<pre>
-new
+<pre>new
literal
-paragraph
-</pre>
+paragraph</pre>
regular text
<br/>