fixed script, now handles URL replacement properly
[koha.git] / installer / html-template-to-template-toolkit.pl
index b80a443..5f1c245 100755 (executable)
@@ -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;