From 17476b5b540492140544eaa323a122d0fa24a35e Mon Sep 17 00:00:00 2001 From: Yorhel Date: Thu, 25 Sep 2014 09:22:48 +0200 Subject: [PATCH] Fix MANNEDINCLUDE formatting on e.g. zshall.1 --- lib/ManUtils/ManUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";