summaryrefslogtreecommitdiffstats
path: root/regress/roff/ft
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-04-30 15:53:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-04-30 15:53:00 +0000
commitee0b68f80757c3f0a4e09e9fdbde02dcd76fa6e8 (patch)
tree53b86cbd806f99c0aaaaf8b1f6871705baedfb60 /regress/roff/ft
parent43f9226f1dc68cb4e5298a723da0b838160b17ec (diff)
downloadmandoc-ee0b68f80757c3f0a4e09e9fdbde02dcd76fa6e8.tar.gz
In HTML output, allow switching the desired font for subsequent
text without printing an opening tag right away, and use that in the .ft request handler. While here, garbage collect redundant enum htmlfont and reduce code duplication in print_text(). Fixing an assertion failure reported by Michael <Stapelberg at Debian> in pmRegisterDerived(3) from libpcp3-dev.
Diffstat (limited to 'regress/roff/ft')
-rw-r--r--regress/roff/ft/badargs.out_html9
1 files changed, 4 insertions, 5 deletions
diff --git a/regress/roff/ft/badargs.out_html b/regress/roff/ft/badargs.out_html
index 5d98e988..0fa4a816 100644
--- a/regress/roff/ft/badargs.out_html
+++ b/regress/roff/ft/badargs.out_html
@@ -1,9 +1,8 @@
BEGINTEST
<br/>
-default font <i></i><i>italic</i> <b><i></i></b><b><i>bold italic</i></b>
- <span class="Li"></span><span class="Li">typeqriter</span>
- <span class="Li"></span> <span class="Li">roman</span> <b></b><b>bold</b>
- <i></i> <i>italic</i> <b></b><b>bold</b> <b>still bold</b>
- <i></i><i>italic</i> <i></i><i>back to bold</i> <i></i><i>back to italic</i>
+default font <i>italic</i> <b><i>bold italic</i></b>
+ <span class="Li">typeqriter</span> <span class="Li">roman</span> <b>bold</b>
+ <i>italic</i> <b>bold</b> <b>still bold</b> <i>italic</i> <i>back to bold</i>
+ <i>back to italic</i>
<br/>
ENDTEST