fixed script, now handles URL replacement properly

This commit is contained in:
Christopher Hall 2011-02-02 11:57:25 +13:00
parent c78f976fc4
commit 2abc7f3313

View file

@ -162,7 +162,7 @@ foreach my $file (@template_files) {
# misc 'patches'
$input_tmpl =~ s/\seq\s/ == /ig;
$input_tmpl =~ s/HTML/html/ig;
$input_tmpl =~ s/URL/url/ig;
$input_tmpl =~ s/URL/url/g;
$input_tmpl =~ s/\w*\.__first__/loop.first/ig;
$input_tmpl =~ s/\w*\.__last__/loop.last/ig;
$input_tmpl =~ s/\w*\.__odd__/loop.odd/ig;