aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-05 20:22:04 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-05 20:22:04 +0000
commit790521c2b6aef2996ee67bd9fdcb7a3d5614261b (patch)
treef6d7cfe604a44583747e762fcd5c2c16a6f7036e /html.c
parent1d9fac28586a81fe21fe0b8d00ffed21e2277ca6 (diff)
downloadmandoc-790521c2b6aef2996ee67bd9fdcb7a3d5614261b.tar.gz
mandoc-790521c2b6aef2996ee67bd9fdcb7a3d5614261b.tar.zst
mandoc-790521c2b6aef2996ee67bd9fdcb7a3d5614261b.zip
mark up .Ar, .Fa, .Va, .Ft, and .Vt with <var> rather than <i>;
suggested by bentley@ long ago, but needed lots of cleanup first
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index b084f1a0..40f2cc07 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.206 2017/02/05 19:29:19 schwarze Exp $ */
+/* $Id: html.c,v 1.207 2017/02/05 20:22:04 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},
+ {"var", 0},
{"cite", 0},
{"b", 0},
{"i", 0},