summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 4e368c058..9442e97f9 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -330,7 +330,7 @@ sub formatAlaTeX($) {
$t .= ($t && "\n") . $tmp;
$tmp = '';
} else {
- $tmp = ($tmp && "$tmp ") . $_;
+ $tmp = ($tmp && "$tmp ") . first(/^\s*(.*?)\s*$/);
}
}
$t . ($t && $tmp && "\n") . $tmp;