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/roff | |
| parent | 9f048bffaf55fe5d4982bd74026e6003754fe978 (diff) | |
| download | mandoc-7f36e58ef077e2bf3ff4592144b6be7ccc0db8de.tar.gz 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/roff')
| -rw-r--r-- | regress/roff/sp/fill-man.out_html | 6 | ||||
| -rw-r--r-- | regress/roff/string/dotT.out_html | 1 |
2 files changed, 2 insertions, 5 deletions
diff --git a/regress/roff/sp/fill-man.out_html b/regress/roff/sp/fill-man.out_html index 054b6359..213d4601 100644 --- a/regress/roff/sp/fill-man.out_html +++ b/regress/roff/sp/fill-man.out_html @@ -1,7 +1,5 @@ <p class="Pp">switch to no-fill mode:</p> -<pre> -in no-fill mode: +<pre>in no-fill mode: back to -fill mode: -</pre> +fill mode:</pre> diff --git a/regress/roff/string/dotT.out_html b/regress/roff/string/dotT.out_html index 0a019b20..51ab1411 100644 --- a/regress/roff/string/dotT.out_html +++ b/regress/roff/string/dotT.out_html @@ -1,3 +1,2 @@ <p class="Pp">We are using the html device.</p> <p class="Pp">The device name can be overridden.</p> -<pre> |
