aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-06-18 01:49:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-06-18 01:49:15 +0000
commit7ca688c5a3572d886f661dca84fbdb424ba13a5e (patch)
tree8a6b3ea9badd5ce03b7ac608962a1c4e83d8294c
parente246f966642cf12d4d8b580a8f23bb5447d83a16 (diff)
downloadmandoc-7ca688c5a3572d886f661dca84fbdb424ba13a5e.tar.gz
mandoc-7ca688c5a3572d886f661dca84fbdb424ba13a5e.tar.zst
mandoc-7ca688c5a3572d886f661dca84fbdb424ba13a5e.zip
Revert previous: style=height is still used by roff_html.c, and it
doesn't actually harm responsive design, so keep it for now. Bug reported in de.comp.os.unix.bsd via naddy@, thanks.
-rw-r--r--html.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/html.c b/html.c
index 5282756e..43a07a04 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.232 2018/06/10 16:47:15 schwarze Exp $ */
+/* $OpenBSD: html.c,v 1.101 2018/05/29 02:10:05 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -711,6 +711,9 @@ print_otag(struct html *h, enum htmltag tag, const char *fmt, ...)
/* Second letter: style name. */
switch (*fmt++) {
+ case 'h':
+ attr = "height";
+ break;
case 'i':
attr = "text-indent";
break;