diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-21 01:11:31 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-21 01:11:31 +0000 |
commit | 1f3a93e77917534228a285ef0cb54e575870b4dd (patch) | |
tree | bc38d6372be9c42afe76bf09f5a42ca220dfe643 | |
parent | e78f92999babd9f87dc74ee273daca5486cd2997 (diff) | |
download | mandoc-1f3a93e77917534228a285ef0cb54e575870b4dd.tar.gz |
Use <span> for .Ms rather than <b>; discussed with John Gardner.
-rw-r--r-- | html.c | 2 | ||||
-rw-r--r-- | mandoc.css | 3 | ||||
-rw-r--r-- | mdoc_html.c | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -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; }"); @@ -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 4a87a8bd..d509dceb 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -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; } |