Fix possible wrapping of MANNEDINCLUDE by removing space

This doesn't really guarantee that it won't wrap, but fixes at least one
man page.

- https://manned.org/BlockSelectionDCOPInterface/6dfdf921
This commit is contained in:
Yorhel 2016-10-16 10:27:47 +02:00
parent 5436435c3f
commit a7352d27b9
2 changed files with 3 additions and 3 deletions

View file

@ -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 (.+)$/.in -10\n.sp\n\[\[\[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";