aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--html.c3
-rw-r--r--html.h3
-rw-r--r--mandoc.css5
-rw-r--r--mdoc_html.c4
4 files changed, 9 insertions, 6 deletions
diff --git a/html.c b/html.c
index bf3d13ce..b084f1a0 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.205 2017/02/05 18:15:39 schwarze Exp $ */
+/* $Id: html.c,v 1.206 2017/02/05 19:29:19 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 afceebad..95b56be6 100644
--- a/html.h
+++ b/html.h
@@ -1,4 +1,4 @@
-/* $Id: html.h,v 1.81 2017/02/05 18:15:39 schwarze Exp $ */
+/* $Id: html.h,v 1.82 2017/02/05 19:29:19 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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 e299069d..7ea4d975 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -1,4 +1,4 @@
-/* $Id: mandoc.css,v 1.14 2017/01/25 02:14:43 schwarze Exp $ */
+/* $Id: mandoc.css,v 1.15 2017/02/05 19:29:19 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*/
@@ -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 9dc82953..9d6ca1af 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.265 2017/02/05 18:15:39 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.266 2017/02/05 19:29:19 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;
}