From 544a766eb06bf03fc9ae275a02575c4dc54c8d32 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 22 Dec 2010 11:15:16 +0000 Subject: Implement reference-counted version of original union mdoc_data. This simplifies clean-up and allows for more types without extra hassle. Also made in-line literal types in -T[x]html use CODE instead of SPAN to match how literal blocks use PRE. --- html.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'html.c') diff --git a/html.c b/html.c index db840652..d8fddc81 100644 --- a/html.c +++ b/html.c @@ -73,6 +73,7 @@ static const struct htmldata htmltags[TAG_MAX] = { {"b", 0 }, /* TAG_B */ {"i", 0 }, /* TAG_I */ {"u", 0 }, /* TAG_U */ + {"code", 0 }, /* TAG_CODE */ }; static const char *const htmlfonts[HTMLFONT_MAX] = { @@ -486,7 +487,7 @@ print_xmltype(struct html *h) { if (HTML_XHTML_1_0_STRICT == h->type) - printf(""); + puts(""); } -- cgit