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 | e6ebe29e01dda236ae873eb8841f10bc6640c8d5 (patch) | |
tree | afc871e929a8e1bccec831668c7997844336bf37 /regress/man/HP/literal.out_html | |
parent | 8539c24bce93430b560ca288ae81e8c90993e54b (diff) | |
download | mandoc-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/HP/literal.out_html')
-rw-r--r-- | regress/man/HP/literal.out_html | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/regress/man/HP/literal.out_html b/regress/man/HP/literal.out_html index 08fb26b9..48089e36 100644 --- a/regress/man/HP/literal.out_html +++ b/regress/man/HP/literal.out_html @@ -1,18 +1,12 @@ <p class="Pp HP">tag indented text</p> <p class="Pp">regular paragraph</p> -<pre> -literal -text -</pre> -<pre> -tag +<pre>literal +text</pre> +<pre>tag literal hanged -paragraph -</pre> -<pre> -literal -paragraph -</pre> +paragraph</pre> +<pre>literal +paragraph</pre> regular text <br/> |