summaryrefslogtreecommitdiffstats
path: root/man_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-19 01:00:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-19 01:00:14 +0000
commit40d88740ee8b94c6e6a8385a424298b3cc6e7f52 (patch)
treefd52f2cca19f61c8e62741f842f91dc2a7212ae7 /man_html.c
parent9e41e48013edafc23cf31a38f2c00d094afdc4a1 (diff)
downloadmandoc-40d88740ee8b94c6e6a8385a424298b3cc6e7f52.tar.gz
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.
Diffstat (limited to 'man_html.c')
-rw-r--r--man_html.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/man_html.c b/man_html.c
index d91f1cbb..bf552e88 100644
--- a/man_html.c
+++ b/man_html.c
@@ -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: