diff options
author | 2011-08-18 09:02:22 +0000 | |
---|---|---|
committer | 2011-08-18 09:02:22 +0000 | |
commit | de0b1dccbf9d3be63a567acafd8c486d3868566b (patch) | |
tree | 30b7e05519e8aaf4b13c2f72eeeb2024c89daca1 /mdoc_html.c | |
parent | c65ba2e1c8deb9e56989ba0289c031c68a59d5f0 (diff) | |
download | mandoc-de0b1dccbf9d3be63a567acafd8c486d3868566b.tar.gz mandoc-de0b1dccbf9d3be63a567acafd8c486d3868566b.tar.zst mandoc-de0b1dccbf9d3be63a567acafd8c486d3868566b.zip |
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 9f6e42be..56a0adcf 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.175 2011/08/10 14:07:23 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.176 2011/08/18 09:02:22 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -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); } |