|
打开:source\function\function_core.php [pre]$string = str_replace(array('&', '"', '<', '>'), array('&', '"', '<', '>'), $string);[/pre] 下面加入 [pre]if(strpos($string, '&#') !== false) { $string = preg_replace('/&((#(\d{3,5}|x[a-fA-F0-9]{4}));)/', '&\\1', $string); }[/pre] |
网站公告