From e6ebe29e01dda236ae873eb8841f10bc6640c8d5 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 16 Oct 2020 17:22:43 +0000 Subject: In HTML output, avoid printing a newline right after
 and right
 before 
because that resulted in vertical whitespace not requested by the manual page author. Formatting bug reported by Aman Verma on discuss@. --- regress/mdoc/Bd/nf.out_html | 18 ++++++------------ regress/mdoc/Bd/paragraph.out_html | 6 ++---- regress/mdoc/Rs/paragraph.out_html | 1 - 3 files changed, 8 insertions(+), 17 deletions(-) (limited to 'regress/mdoc') diff --git a/regress/mdoc/Bd/nf.out_html b/regress/mdoc/Bd/nf.out_html index 394eb7ed..83083353 100644 --- a/regress/mdoc/Bd/nf.out_html +++ b/regress/mdoc/Bd/nf.out_html @@ -1,20 +1,14 @@ -
-after .nf
-request
-
+
after .nf
+request

after .fi request

-
-in unfilled
-block
-
+
in unfilled
+block
after .fi request in unfilled block
after end of unfilled block
in filled block -
-after .nf request
-in filled block
-
+
after .nf request
+in filled block
after end of filled block
diff --git a/regress/mdoc/Bd/paragraph.out_html b/regress/mdoc/Bd/paragraph.out_html index cc3491c9..22355ed1 100644 --- a/regress/mdoc/Bd/paragraph.out_html +++ b/regress/mdoc/Bd/paragraph.out_html @@ -8,13 +8,11 @@ back to normal

another paragraph

-
- literal
+
 literal
 display
 
  literal
-paragraph
-
+paragraph
again back to normal
diff --git a/regress/mdoc/Rs/paragraph.out_html b/regress/mdoc/Rs/paragraph.out_html index ba5fb63a..bfb0a724 100644 --- a/regress/mdoc/Rs/paragraph.out_html +++ b/regress/mdoc/Rs/paragraph.out_html @@ -13,4 +13,3 @@

in a paragraph:

another author, another book.

-
-- 
cgit