summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-21 01:11:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-21 01:11:31 +0000
commit1f3a93e77917534228a285ef0cb54e575870b4dd (patch)
treebc38d6372be9c42afe76bf09f5a42ca220dfe643
parente78f92999babd9f87dc74ee273daca5486cd2997 (diff)
downloadmandoc-1f3a93e77917534228a285ef0cb54e575870b4dd.tar.gz
Use <span> for .Ms rather than <b>; discussed with John Gardner.
-rw-r--r--html.c2
-rw-r--r--mandoc.css3
-rw-r--r--mdoc_html.c2
3 files changed, 5 insertions, 2 deletions
diff --git a/html.c b/html.c
index f0d493a4..1e82d116 100644
--- a/html.c
+++ b/html.c
@@ -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; }");
diff --git a/mandoc.css b/mandoc.css
index 432bef0e..5029ef00 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -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;
}