summaryrefslogtreecommitdiffabout
path: root/mansrv
Side-by-side diff
Diffstat (limited to 'mansrv') (more/less context) (ignore whitespace changes)
-rwxr-xr-xmansrv2
1 files changed, 1 insertions, 1 deletions
diff --git a/mansrv b/mansrv
index b4d3cca..25e56e7 100755
--- a/mansrv
+++ b/mansrv
@@ -134,13 +134,13 @@ sub interpret_file($$) {
${$s->varglob('PACKAGE')} = $package_name;
${$s->varglob('VERSION')} = $VERSION;
${$s->varglob('SERVER')} = "$ENV{REQUEST_SCHEME}://$ENV{SERVER_NAME}";
while (<$ifd>) {
chomp;
- s/\{%(.*)%\}/expand_template($s, $1, $file, $.)/ex;
+ s/\{%(.*?)%\}/expand_template($s, $1, $file, $.)/gex;
print $ofd "$_\n";
}
close($ifd);
}
sub interpret {

Return to:

Send suggestions and report system problems to the System administrator.