summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2014-09-25 09:22:48 +0200
committerYorhel <git@yorhel.nl>2014-09-25 09:22:48 +0200
commit17476b5b540492140544eaa323a122d0fa24a35e (patch)
tree416a4547bb231066cc18fb1df1106d5f6ac93971
parent977f6216bd9a91182c6922b83bc033ca6c901d72 (diff)
Fix MANNEDINCLUDE formatting on e.g. zshall.1
-rw-r--r--lib/ManUtils/ManUtils.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ManUtils/ManUtils.pm b/lib/ManUtils/ManUtils.pm
index 1a7ae64..641e78c 100644
--- a/lib/ManUtils/ManUtils.pm
+++ b/lib/ManUtils/ManUtils.pm
@@ -30,7 +30,7 @@ sub fmt {
# doesn't '.so' it.
$input =~ s/^\.so man.macros$//mg;
# Other .so's should be handled by html()
- $input =~ s/^\.so (.+)$/\[\[\[MANNEDINCLUDE $1\]\]\]/mg;
+ $input =~ s/^\.so (.+)$/.in -10\n.sp\n\[\[\[MANNEDINCLUDE $1\]\]\]/mg;
# Disable hyphenation, since that screws up man page references. :-(
$input = ".hy 0\n.de hy\n..\n$input";