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.227 2018/05/21 00:30:23 schwarze Exp $ */ +/* $Id: html.c,v 1.228 2018/05/21 01:11:31 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org> @@ -192,6 +192,8 @@ print_gen_head(struct html *h) print_endline(h); print_text(h, "span.Pa, span.Ad { font-style: italic; }"); print_endline(h); + print_text(h, "span.Ms { font-weight: bold; }"); + 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.28 2018/05/21 00:30:23 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.29 2018/05/21 01:11:31 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). */ @@ -212,7 +212,8 @@ code.Cd { font-style: normal; font-family: inherit; } span.Ad { font-style: italic; font-weight: normal; } -b.Ms { font-style: normal; } +span.Ms { font-style: normal; + font-weight: bold; } span.St { } a.Ux { } diff --git a/mdoc_html.c b/mdoc_html.c index 73e5d8ca..58eb71b6 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.302 2018/05/21 00:30:23 schwarze Exp $ */ +/* $Id: mdoc_html.c,v 1.303 2018/05/21 01:11:31 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org> @@ -1463,7 +1463,7 @@ mdoc_ms_pre(MDOC_ARGS) if ((id = cond_id(n)) != NULL) print_otag(h, TAG_A, "chR", "permalink", id); - print_otag(h, TAG_B, "cTi", "Ms", id); + print_otag(h, TAG_SPAN, "cTi", "Ms", id); free(id); return 1; } |