summaryrefslogtreecommitdiffstats
path: root/regress/usr.bin
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2021-03-30 19:23:50 +0000
committerschwarze <schwarze@openbsd.org>2021-03-30 19:23:50 +0000
commit4529325a8a141549d437f69180f87d8e684a0235 (patch)
tree3bead5f38f5cc923591e1853a220d93797e3a165 /regress/usr.bin
parentHandle systems, such as the Dell Precision 3640, that access (diff)
downloadwireguard-openbsd-4529325a8a141549d437f69180f87d8e684a0235.tar.xz
wireguard-openbsd-4529325a8a141549d437f69180f87d8e684a0235.zip
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 <pre> 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.
Diffstat (limited to 'regress/usr.bin')
-rw-r--r--regress/usr.bin/mandoc/mdoc/Bd/paragraph.out_html2
1 files changed, 1 insertions, 1 deletions
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 @@
</div>
back to normal
<p class="Pp">another paragraph</p>
-<div class="Bd Pp" id="unfilled">
+<div class="Bd Pp Li" id="unfilled">
<pre><a class="permalink" href="#unfilled">unfilled</a> literal
display
<mark id="upara"></mark>