summaryrefslogtreecommitdiffstats
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
commit9165a1c2bfd8bcf4cd141879d15c8e111d200e88 (patch)
treeaacc9c6bb0d720ba3bf449b98079861ae39572b2
parent0549807bf454b75f97d8256db9bf4888735dc50d (diff)
downloadmandoc-9165a1c2bfd8bcf4cd141879d15c8e111d200e88.tar.gz
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 52e6a367..43a07a04 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $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;