diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-10-16 17:22:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-10-16 17:22:43 +0000 |
commit | 7f36e58ef077e2bf3ff4592144b6be7ccc0db8de (patch) | |
tree | 6cfddb47fabc9a3aa09e66786d7c5bc244574cd4 /regress/man/TP/literal.out_html | |
parent | 9f048bffaf55fe5d4982bd74026e6003754fe978 (diff) | |
download | mandoc-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/TP/literal.out_html')
-rw-r--r-- | regress/man/TP/literal.out_html | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/regress/man/TP/literal.out_html b/regress/man/TP/literal.out_html index 914c7b5c..71194770 100644 --- a/regress/man/TP/literal.out_html +++ b/regress/man/TP/literal.out_html @@ -3,23 +3,17 @@ <dd>regular indented text</dd> </dl> <p class="Pp">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> -literal -paragraph -</pre> +<pre>literal +paragraph</pre> regular text <br/> |