aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-05-21 00:00:37 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-05-21 00:00:37 +0000
commit73beeba33e71efeeba0e349f87884864df356be1 (patch)
tree314be439c0e6664b63b961eaaf3c6274fb9a990a /html.c
parenta5431e98343d01db298db894f32761963d932e48 (diff)
downloadmandoc-73beeba33e71efeeba0e349f87884864df356be1.tar.gz
mandoc-73beeba33e71efeeba0e349f87884864df356be1.tar.zst
mandoc-73beeba33e71efeeba0e349f87884864df356be1.zip
Use <span> rather than abusing <i> for .Pa;
suggested by John Gardner <gardnerjohng at gmail dot com>.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/html.c b/html.c
index 33cb67c4..22f7d6dd 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.225 2018/05/09 00:46:10 schwarze Exp $ */
+/* $Id: html.c,v 1.226 2018/05/21 00:00:37 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -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; }");