aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/man/SY/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
commit7f36e58ef077e2bf3ff4592144b6be7ccc0db8de (patch)
tree6cfddb47fabc9a3aa09e66786d7c5bc244574cd4 /regress/man/SY/literal.out_html
parent9f048bffaf55fe5d4982bd74026e6003754fe978 (diff)
downloadmandoc-7f36e58ef077e2bf3ff4592144b6be7ccc0db8de.tar.gz
mandoc-7f36e58ef077e2bf3ff4592144b6be7ccc0db8de.tar.zst
mandoc-7f36e58ef077e2bf3ff4592144b6be7ccc0db8de.zip
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/SY/literal.out_html')
-rw-r--r--regress/man/SY/literal.out_html16
1 files changed, 5 insertions, 11 deletions
diff --git a/regress/man/SY/literal.out_html b/regress/man/SY/literal.out_html
index 9b3e8486..3d63b516 100644
--- a/regress/man/SY/literal.out_html
+++ b/regress/man/SY/literal.out_html
@@ -7,23 +7,17 @@
</tr>
</table>
middle regular text
-<pre>
-literal text
-before display
-</pre>
+<pre>literal text
+before display</pre>
<table class="Nm">
<tr>
<td><code class="Nm">command</code></td>
<td>
- <pre>
-<i>arguments</i>
- </pre>
+ <pre><i>arguments</i></pre>
</td>
</tr>
</table>
-<pre>
-literal text
-after display
-</pre>
+<pre>literal text
+after display</pre>
<p class="Pp">final regular text
<br/>