From de0b1dccbf9d3be63a567acafd8c486d3868566b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 18 Aug 2011 09:02:22 +0000 Subject: 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. --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') 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 * @@ -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); } -- cgit v1.2.3