diff options
-rw-r--r-- | html.c | 4 | ||||
-rw-r--r-- | mandoc.css | 5 | ||||
-rw-r--r-- | mdoc_html.c | 4 |
3 files changed, 8 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.225 2018/05/09 00:46:10 schwarze Exp $ */ +/* $Id: html.c,v 1.226 2018/05/21 00:00:37 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -190,6 +190,8 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "div.Nd, div.Bf, div.Op { display: inline; }"); print_endline(h); + print_text(h, "span.Pa { font-style: italic; }"); + print_endline(h); print_text(h, "dl.Bl-diag "); print_byte(h, '>'); print_text(h, " dt { font-weight: bold; }"); @@ -1,4 +1,4 @@ -/* $Id: mandoc.css,v 1.26 2018/05/09 00:46:10 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.27 2018/05/21 00:00:37 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -171,7 +171,8 @@ code.Ic { font-style: normal; code.Ev { font-style: normal; font-weight: normal; font-family: monospace; } -i.Pa { font-weight: normal; } +span.Pa { font-style: italic; + font-weight: normal; } /* Semantic markup for function libraries. */ diff --git a/mdoc_html.c b/mdoc_html.c index c871181d..4e72f123 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.300 2018/05/09 00:46:10 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.301 2018/05/21 00:00:37 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org> @@ -979,7 +979,7 @@ mdoc_bd_pre(MDOC_ARGS) static int mdoc_pa_pre(MDOC_ARGS) { - print_otag(h, TAG_I, "cT", "Pa"); + print_otag(h, TAG_SPAN, "cT", "Pa"); return 1; } |