summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 4670da6d..433bb945 100644
--- a/html.c
+++ b/html.c
@@ -190,6 +190,8 @@ print_gen_head(struct html *h)
print_endline(h);
print_text(h, "div.Nd, div.Bf, div.Op { display: inline; }");
print_endline(h);
+ print_text(h, "span.Pa { font-style: italic; }");
+ 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 631aedc4..935c5d6b 100644
--- a/mandoc.css
+++ b/mandoc.css
@@ -171,7 +171,8 @@ code.Ic { font-style: normal;
code.Ev { font-style: normal;
font-weight: normal;
font-family: monospace; }
-i.Pa { font-weight: normal; }
+span.Pa { font-style: italic;
+ font-weight: normal; }
/* Semantic markup for function libraries. */
diff --git a/mdoc_html.c b/mdoc_html.c
index 3a78913e..9f6e9f14 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -979,7 +979,7 @@ mdoc_bd_pre(MDOC_ARGS)
static int
mdoc_pa_pre(MDOC_ARGS)
{
- print_otag(h, TAG_I, "cT", "Pa");
+ print_otag(h, TAG_SPAN, "cT", "Pa");
return 1;
}