summaryrefslogtreecommitdiffstats
path: root/regress/man/RS/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/RS/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/RS/literal.out_html')
-rw-r--r--regress/man/RS/literal.out_html18
1 files changed, 6 insertions, 12 deletions
diff --git a/regress/man/RS/literal.out_html b/regress/man/RS/literal.out_html
index 7bd5431b..3429d849 100644
--- a/regress/man/RS/literal.out_html
+++ b/regress/man/RS/literal.out_html
@@ -1,18 +1,12 @@
<br/>
initial regular text</p>
-<pre>
-literal text
-before display
-</pre>
+<pre>literal text
+before display</pre>
<div class="Bd-indent">
-<pre>
-This is a short line.
-This is a very long line that would wrap if it weren't in literal context.
-</pre>
+<pre>This is a short line.
+This is a very long line that would wrap if it weren't in literal context.</pre>
</div>
-<pre>
-literal text
-after display
-</pre>
+<pre>literal text
+after display</pre>
<p class="Pp">final regular text
<br/>