diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-06-18 01:49:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-06-18 01:49:15 +0000 |
commit | 9165a1c2bfd8bcf4cd141879d15c8e111d200e88 (patch) | |
tree | aacc9c6bb0d720ba3bf449b98079861ae39572b2 | |
parent | 0549807bf454b75f97d8256db9bf4888735dc50d (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |