summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/mdoc_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2017-01-18 19:22:18 +0000
committerschwarze <schwarze@openbsd.org>2017-01-18 19:22:18 +0000
commitb1eea027fda2960a3a09a9f7763d2d99f4759c41 (patch)
tree6b52e204dec16fc99af1c480b32c4ae8b096e6c2 /usr.bin/mandoc/mdoc_html.c
parentUse LIST_FOREACH to traverse icmp6_mtudisc_callbacks. Fix whitespaces. (diff)
downloadwireguard-openbsd-b1eea027fda2960a3a09a9f7763d2d99f4759c41.tar.xz
wireguard-openbsd-b1eea027fda2960a3a09a9f7763d2d99f4759c41.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 'usr.bin/mandoc/mdoc_html.c')
-rw-r--r--usr.bin/mandoc/mdoc_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc_html.c b/usr.bin/mandoc/mdoc_html.c
index 2d68129a014..2a1f06c4552 100644
--- a/usr.bin/mandoc/mdoc_html.c
+++ b/usr.bin/mandoc/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mdoc_html.c,v 1.124 2017/01/17 15:32:39 schwarze Exp $ */
+/* $OpenBSD: mdoc_html.c,v 1.125 2017/01/18 19:22:18 schwarze Exp $ */
/*
* Copyright (c) 2008-2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -316,7 +316,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