diff --git a/installer/html-template-to-template-toolkit.pl b/installer/html-template-to-template-toolkit.pl
index b80a443bb1..5f1c245715 100755
--- a/installer/html-template-to-template-toolkit.pl
+++ b/installer/html-template-to-template-toolkit.pl
@@ -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;