aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_html.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-01-18 19:22:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-01-18 19:22:21 +0000
commitc1f44d16f40aa0b6a571293bf1153e34ca40bedf (patch)
treed4b62a97aeaa6ccd4076702fec22886ad13cad3c /mdoc_html.c
parent6506abee45c903b6cd5093a2bf6ece5ac7aed4e3 (diff)
downloadmandoc-c1f44d16f40aa0b6a571293bf1153e34ca40bedf.tar.gz
mandoc-c1f44d16f40aa0b6a571293bf1153e34ca40bedf.tar.zst
mandoc-c1f44d16f40aa0b6a571293bf1153e34ca40bedf.zip
Make HTML output more human readable by overhauling line break logic
around tags and by introducing some simple indentation. No change of HTML semantics intended.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r--mdoc_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdoc_html.c b/mdoc_html.c
index ad23064b..112296e5 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.249 2017/01/17 15:32:44 schwarze Exp $ */
+/* $Id: mdoc_html.c,v 1.250 2017/01/18 19:22:22 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -318,7 +318,6 @@ html_mdoc(void *arg, const struct roff_man *mdoc)
print_mdoc_nodelist(&mdoc->meta, mdoc->first->child, h);
mdoc_root_post(&mdoc->meta, mdoc->first->child, h);
print_tagq(h, t);
- putchar('\n');
}
static void