Help for this page
/* OK */ popURL('blah.com'); /* Invalid */ popURL('broken.com/ cant/have/embedded/real/newline');
# before inserting a perl string into a quoted javascript # widget we always need to do at least this: ... # escape single quote chars - another gotcha my $embed_string =~ s/'/\\'/g;