projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a471d9
)
Fix quoting
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 9 Jul 2009 17:49:37 +0000
(17:49 +0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 9 Jul 2009 17:49:37 +0000
(17:49 +0000)
web-lib-funcs.pl
patch
|
blob
|
history
diff --git
a/web-lib-funcs.pl
b/web-lib-funcs.pl
index
644903c
..
4319cab
100755
(executable)
--- a/
web-lib-funcs.pl
+++ b/
web-lib-funcs.pl
@@
-998,8
+998,9
@@
if ($textonly) {
return $line;
}
else {
+ $line =~ s/\r|\n//g;
return "<script language=JavaScript type=text/javascript>\n".
- "defaultStatus=\"
$line
\";\n".
+ "defaultStatus=\"
"."e_escape($line)."
\";\n".
"</script>\n";
}
}