diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-25 01:32:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-10-25 01:32:40 +0000 |
commit | c5692d062ca3cb8eb15948d7fbc2f5eb68be6cda (patch) | |
tree | 94de759c7f7feb9b61764095e908e723f0ae0499 /mdoc_markdown.c | |
parent | e4c12a05e0760bea4427e66a5914d9fed0111dee (diff) | |
download | mandoc-c5692d062ca3cb8eb15948d7fbc2f5eb68be6cda.tar.gz |
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 'mdoc_markdown.c')
-rw-r--r-- | mdoc_markdown.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_markdown.c b/mdoc_markdown.c index d6310abb..0cefcfac 100644 --- a/mdoc_markdown.c +++ b/mdoc_markdown.c @@ -600,6 +600,7 @@ md_word(const char *s) nextfont = "***"; break; case ESCAPE_FONT: + case ESCAPE_FONTCW: case ESCAPE_FONTROMAN: nextfont = ""; break; |