fix friggin ' for IE

This commit is contained in:
Mike Macgirvin
2010-07-12 21:16:30 -07:00
parent 58fd9647a2
commit a4dbd6657c
2 changed files with 3 additions and 1 deletions

View File

@@ -192,7 +192,7 @@ if(! function_exists('escape_tags')) {
function escape_tags($string) {
return(str_replace(
array('&', '"', "'", '<', '>'),
array('&amp;', '&quot;', '&apos;', '&lt;', '&gt;'), $string));
array('&amp;', '&quot;', '&#39;', '&lt;', '&gt;'), $string));
}}
if(! function_exists('login')) {