From e73d0cb63df953bf695636bd8906deb316a6d718 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 19 Jan 2017 01:00:14 +0000 Subject: Implement line breaking of the generated HTML code at space characters in filled text. This does not affect HTML semantics, but makes the HTML code even more humanly readable. While here, - collapse multiple consecutive space characters in filled text - and insert a blank between style entries. --- man_html.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'man_html.c') diff --git a/man_html.c b/man_html.c index cb3040e2..cf973ce0 100644 --- a/man_html.c +++ b/man_html.c @@ -1,4 +1,4 @@ -/* $Id: man_html.c,v 1.124 2017/01/18 19:22:22 schwarze Exp $ */ +/* $Id: man_html.c,v 1.125 2017/01/19 01:00:14 schwarze Exp $ */ /* * Copyright (c) 2008-2012, 2014 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze @@ -215,8 +215,6 @@ print_man_node(MAN_ARGS) print_text(h, n->string); return; case ROFFT_EQN: - if (n->flags & NODE_LINE) - putchar('\n'); print_eqn(h, n->eqn); break; case ROFFT_TBL: -- cgit v1.2.3