diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2021-05-16 18:11:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2021-05-16 18:11:20 +0000 |
commit | c518af53de9d0fdacf3606ccd60aee7bad4e7e89 (patch) | |
tree | f4b06442db2afdb350d1d54237b2c5dce80c2699 /html.c | |
parent | ff6544dbe8abaff19badeae10fb0c62125913102 (diff) | |
download | mandoc-c518af53de9d0fdacf3606ccd60aee7bad4e7e89.tar.gz mandoc-c518af53de9d0fdacf3606ccd60aee7bad4e7e89.tar.zst mandoc-c518af53de9d0fdacf3606ccd60aee7bad4e7e89.zip |
implement the tbl(7) layout modifiers "b" (bold) and "i" (italic)
in HTML output mode, similar to tbl_term.c, function tbl_word();
issue reported by Oliver dot Corff at email dot de
Diffstat (limited to 'html.c')
-rw-r--r-- | html.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.271 2020/10/16 17:22:43 schwarze Exp $ */ +/* $Id: html.c,v 1.272 2021/05/16 18:11:20 schwarze Exp $ */ /* * Copyright (c) 2011-2015, 2017-2020 Ingo Schwarze <schwarze@openbsd.org> * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> @@ -140,6 +140,7 @@ html_alloc(const struct manoutput *outopts) h = mandoc_calloc(1, sizeof(struct html)); h->tag = NULL; + h->metac = h->metal = ESCAPE_FONTROMAN; h->style = outopts->style; if ((h->base_man1 = outopts->man) == NULL) h->base_man2 = NULL; |