source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: Revert previous: style=height is still used by roff_html.c, and
@ 2018-06-18  1:49 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2018-06-18  1:49 UTC (permalink / raw)
  To: source

Log Message:
-----------
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.

Modified Files:
--------------
    mandoc:
        html.c

Revision Data
-------------
Index: html.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/html.c,v
retrieving revision 1.232
retrieving revision 1.233
diff -Lhtml.c -Lhtml.c -u -p -r1.232 -r1.233
--- html.c
+++ 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 
 		/* Second letter: style name. */
 
 		switch (*fmt++) {
+		case 'h':
+			attr = "height";
+			break;
 		case 'i':
 			attr = "text-indent";
 			break;
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-18  1:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18  1:49 mandoc: Revert previous: style=height is still used by roff_html.c, and schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).