=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.119 retrieving revision 1.121 diff -u -p -r1.119 -r1.121 --- mandoc/html.c 2010/12/20 10:40:11 1.119 +++ mandoc/html.c 2010/12/22 11:15:16 1.121 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.119 2010/12/20 10:40:11 kristaps Exp $ */ +/* $Id: html.c,v 1.121 2010/12/22 11:15:16 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -71,6 +71,9 @@ static const struct htmldata htmltags[TAG_MAX] = { {"p", HTML_CLRLINE | HTML_NOSTACK | HTML_AUTOCLOSE}, /* TAG_P */ {"pre", HTML_CLRLINE }, /* TAG_PRE */ {"b", 0 }, /* TAG_B */ + {"i", 0 }, /* TAG_I */ + {"u", 0 }, /* TAG_U */ + {"code", 0 }, /* TAG_CODE */ }; static const char *const htmlfonts[HTMLFONT_MAX] = { @@ -484,7 +487,7 @@ print_xmltype(struct html *h) { if (HTML_XHTML_1_0_STRICT == h->type) - printf(""); + puts(""); }