From 4529325a8a141549d437f69180f87d8e684a0235 Mon Sep 17 00:00:00 2001 From: schwarze Date: Tue, 30 Mar 2021 19:23:50 +0000 Subject: In HTML output, correctly render .Bd -unfilled in proportionally-spaced font, rather than with the monospace font appropriate for .Bd -literal. This fixes a minibug reported by anton@. Implemented by no longer relying on the typical browser default of "pre { font-family: monospace }" but instead letting
 elements
inherit the font family from their parent, then adding an explicit CSS .Li
class only for those displays where the manual page author requested it
by using the -literal option on the .Bd macro.
---
 regress/usr.bin/mandoc/mdoc/Bd/paragraph.out_html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'regress/usr.bin')

diff --git a/regress/usr.bin/mandoc/mdoc/Bd/paragraph.out_html b/regress/usr.bin/mandoc/mdoc/Bd/paragraph.out_html
index 22355ed1e2b..df5fc6d6062 100644
--- a/regress/usr.bin/mandoc/mdoc/Bd/paragraph.out_html
+++ b/regress/usr.bin/mandoc/mdoc/Bd/paragraph.out_html
@@ -7,7 +7,7 @@
 
 back to normal
 

another paragraph

-
+
 literal
 display
 
-- 
cgit v1.2.3-59-g8ed1b