summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--html.c1
-rw-r--r--html.h1
-rw-r--r--mandoc.css3
-rw-r--r--mdoc_html.c2
4 files changed, 5 insertions, 2 deletions
diff --git a/html.c b/html.c
index 82ff911f..74965212 100644
--- a/html.c
+++ b/html.c
@@ -76,6 +76,7 @@ static const struct htmldata htmltags[TAG_MAX] = {
{"dt", HTML_NLAROUND},
{"dd", HTML_NLAROUND | HTML_INDENT},
{"pre", HTML_NLALL | HTML_NOINDENT},
+ {"cite", 0},
{"b", 0},
{"i", 0},
{"code", 0},
diff --git a/html.h b/html.h
index 67377411..4fc45233 100644
--- a/html.h
+++ b/html.h
@@ -41,6 +41,7 @@ enum htmltag {
TAG_DT,
TAG_DD,
TAG_PRE,
+ TAG_CITE,
TAG_B,
TAG_I,
TAG_CODE,
diff --git a/mandoc.css b/mandoc.css
index 3f0b03b5..1f23f335 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -108,7 +108,8 @@ table.Bl-column { }
tr.It-column { }
td.It-column { margin-top: 1em; }
-span.Rs { }
+cite.Rs { font-style: normal;
+ font-weight: normal; }
span.RsA { }
i.RsB { font-weight: normal; }
span.RsC { }
diff --git a/mdoc_html.c b/mdoc_html.c
index 586b238f..07f7cb37 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1512,7 +1512,7 @@ mdoc_rs_pre(MDOC_ARGS)
if (n->prev && SEC_SEE_ALSO == n->sec)
print_paragraph(h);
- print_otag(h, TAG_SPAN, "c", "Rs");
+ print_otag(h, TAG_CITE, "c", "Rs");
return 1;
}