]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/amtemplates.pl
Template-Pfad vor regex quoten.
[mfinanz.git] / bin / mozilla / amtemplates.pl
index 0622b021317420aa8812f6f208734b0e16ffaf2c..0045635572347460510e88339e6b1af80077a969 100644 (file)
@@ -210,7 +210,7 @@ sub display_template_form {
 
           my $fname = $File::Find::name;
           # remove template dir from name
-          $fname =~ s|^$template_dir/||;
+          $fname =~ s|^\Q$template_dir\E/||;
           # remove .tex from name
           $fname =~ s|.tex$||;