--- trunk/web/browse.cgi 2005/11/15 14:30:26 58 +++ trunk/web/browse.cgi 2005/11/15 16:56:40 63 @@ -74,7 +74,7 @@ @@ -94,6 +94,7 @@ return $iconv_loc->convert(chr(hex($t))); } $tmpl =~ s/%u([a-fA-F0-9]{4})/_conv_js($1)/gex; + $tmpl =~ s/[\n\r]+$//s; my $tmpl_file = $out->{'include_path'} . '/' . $template; write_file($tmpl_file . '.new', $tmpl) || die "can't save $tmpl_file: $!"; @@ -101,11 +102,13 @@ print qq{ -$template saved +$template saved @@ -121,9 +124,7 @@
}, Dumper($q->Vars), qq{
-
+