aboutsummaryrefslogtreecommitdiffstatshomepage
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
commite73d0cb63df953bf695636bd8906deb316a6d718 (patch)
tree4bb6eb8a77bb9910bb56020230e368e58e5794f6 /man_html.c
parentc1f44d16f40aa0b6a571293bf1153e34ca40bedf (diff)
downloadmandoc-e73d0cb63df953bf695636bd8906deb316a6d718.tar.gz
mandoc-e73d0cb63df953bf695636bd8906deb316a6d718.tar.zst
mandoc-e73d0cb63df953bf695636bd8906deb316a6d718.zip
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.c4
1 files changed, 1 insertions, 3 deletions
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 <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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: