From c518af53de9d0fdacf3606ccd60aee7bad4e7e89 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 16 May 2021 18:11:20 +0000 Subject: 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 --- html.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index 0096c2db..f81b251f 100644 --- a/html.c +++ b/html.c @@ -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 * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons @@ -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; -- cgit v1.2.3