diff --git a/lib/WebGUI/Template.pm b/lib/WebGUI/Template.pm index 387e0323d..988d90fc2 100644 --- a/lib/WebGUI/Template.pm +++ b/lib/WebGUI/Template.pm @@ -103,7 +103,7 @@ sub selectTemplate { $templates{$key} =~ s/\n//g; $templates{$key} =~ s/\r//g; $templates{$key} =~ s/\'/\\\'/g; - $templates{$key} =~ s/\/\/ig; + $templates{$key} =~ s/\/\
/ig; $templates{$key} =~ s/\^(\d+)\;/$1/g; $output .= " var b".$key." = '".$templates{$key}."';\n"; }