summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-03-30 19:26:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-03-30 19:26:20 +0000
commit184eafa56a9bef7700f0cef2dbcaffc507d775a0 (patch)
tree332419a6f594c330550d7e1c30802a77f4ca7629 /regress
parent0ae41972c4e3731fd95da0071fd4ea8501373d4f (diff)
downloadmandoc-184eafa56a9bef7700f0cef2dbcaffc507d775a0.tar.gz
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')
-rw-r--r--regress/mdoc/Bd/paragraph.out_html2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/mdoc/Bd/paragraph.out_html b/regress/mdoc/Bd/paragraph.out_html
index 22355ed1..df5fc6d6 100644
--- a/regress/mdoc/Bd/paragraph.out_html
+++ b/regress/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>