diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-21 00:00:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-05-21 00:00:37 +0000 |
commit | 73beeba33e71efeeba0e349f87884864df356be1 (patch) | |
tree | 314be439c0e6664b63b961eaaf3c6274fb9a990a /html.c | |
parent | a5431e98343d01db298db894f32761963d932e48 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; }"); |