summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/html.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2018-10-25 01:21:30 +0000
committerschwarze <schwarze@openbsd.org>2018-10-25 01:21:30 +0000
commit1b5bfe784954a47720b93244ac9046e9d0dc5787 (patch)
treeb5327699eb84493caa2950241bb527aae0a9c5d9 /usr.bin/mandoc/html.h
parentstart both the sc_ka_send and sc_ka_hold timeout when (diff)
downloadwireguard-openbsd-1b5bfe784954a47720b93244ac9046e9d0dc5787.tar.xz
wireguard-openbsd-1b5bfe784954a47720b93244ac9046e9d0dc5787.zip
Implement the \f(CW and \f(CR (constant width font) escape sequences
for HTML output. Somewhat relevant because pod2man(1) relies on this. Missing feature reported by Pali dot Rohar at gmail dot com. Note that constant width font was already correctly selected before this when required by semantic markup. Only attempting physical markup with the low-level escape sequence was ineffective.
Diffstat (limited to 'usr.bin/mandoc/html.h')
-rw-r--r--usr.bin/mandoc/html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/html.h b/usr.bin/mandoc/html.h
index daf646917d0..5604507e118 100644
--- a/usr.bin/mandoc/html.h
+++ b/usr.bin/mandoc/html.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: html.h,v 1.56 2018/10/02 14:56:36 schwarze Exp $ */
+/* $OpenBSD: html.h,v 1.57 2018/10/25 01:21:30 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -72,6 +72,7 @@ enum htmlfont {
HTMLFONT_BOLD,
HTMLFONT_ITALIC,
HTMLFONT_BI,
+ HTMLFONT_CW,
HTMLFONT_MAX
};