summaryrefslogtreecommitdiffstats
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-08-18 09:02:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-08-18 09:02:22 +0000
commite86af0dc8039b4e3286d2e1a1472b6791d660c82 (patch)
tree219d9f2898bd8337528a2e1fa523afac8506d37d /mdoc_html.c
parent7865d63384b40a108265b47bb7d7ae5d5e3fb0d7 (diff)
downloadmandoc-e86af0dc8039b4e3286d2e1a1472b6791d660c82.tar.gz
Have `Li' be correctly monospaced in -T[x]html. Also make sure that
`Li' prints as a CODE tag and the style-sheet has the `lit' class apply to multiple tag types.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index 85322c73..281f557c 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1994,7 +1994,7 @@ mdoc_li_pre(MDOC_ARGS)
struct htmlpair tag;
PAIR_CLASS_INIT(&tag, "lit");
- print_otag(h, TAG_SPAN, 1, &tag);
+ print_otag(h, TAG_CODE, 1, &tag);
return(1);
}