Use new quoting function

This commit is contained in:
Jamie Cameron
2014-07-03 16:01:25 -07:00
parent 1ab0802e60
commit 1d6c7bb5cb

View File

@@ -88,9 +88,9 @@ while(1) {
next if (defined($lastpc) && $pc == $lastpc);
print "<script>\n";
print "document.forms[0].file.value = \"".
quotemeta($filename)."\";\n";
&quote_javascript($filename)."\";\n";
print "document.forms[0].size.value = \"".
quotemeta(&text('uptracker_of',
&quote_javascript(&text('uptracker_of',
&nice_size($size),
&nice_size($totalsize)))."\";\n";
print "document.forms[0].pc.value = \"".("|" x $pc)."\";\n";