fix htmlspecialchars &

databind
vitalif 2009-02-08 01:51:39 +00:00 committed by Vitaliy Filippov
parent 780c6bcb56
commit 1b3b074c50
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ sub trim
sub htmlspecialchars
{
local $_ = $_[0];
s/&/'/gso;
s/&/&/gso;
s/</&lt;/gso;
s/>/&gt;/gso;
s/\"/&quot;/gso;