aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-10-25 01:32:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-10-25 01:32:40 +0000
commit6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5 (patch)
treeb0f9734269df7b90bac3701dd8a4ac62cc8550f0 /html.h
parenta93cab0159f106fce2adae204f5e9a1011800296 (diff)
downloadmandoc-6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5.tar.gz
mandoc-6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5.tar.zst
mandoc-6d7bd68376bb91e0b5c2ea4ec175b367ed946fc5.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 'html.h')
-rw-r--r--html.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.h b/html.h
index 5f3c5ebe..477f50b4 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.94 2018/10/02 14:56:47 schwarze Exp $ */
+/* $Id: html.h,v 1.95 2018/10/25 01:32:40 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
};