aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-20 13:07:55 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-20 13:07:55 +0000
commitd3f002ad84f44a7717764962a751ed671da56950 (patch)
tree3074276927f0849c2acb085d1d65cac63004cd90 /html.c
parentf42a91b55dfcddcdd77e9ff190a164c0bd531eb5 (diff)
downloadmandoc-d3f002ad84f44a7717764962a751ed671da56950.tar.gz
mandoc-d3f002ad84f44a7717764962a751ed671da56950.tar.zst
mandoc-d3f002ad84f44a7717764962a751ed671da56950.zip
More use default tags, this time I and U. Also fix a stack overflow
segfault in the last commit.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index 99a5344e..41fb81d7 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.119 2010/12/20 10:40:11 kristaps Exp $ */
+/* $Id: html.c,v 1.120 2010/12/20 13:07:55 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -71,6 +71,8 @@ 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 */
};
static const char *const htmlfonts[HTMLFONT_MAX] = {