/*HTML安全过滤*/
function _htmtocode($content) {
$content = str_replace('%','%‎',$content);
$content = str_replace("<", "<", $content);
$content = str_replace(">", ">", $content);
$content = str_replace("\n", "<br/>", $content);
$content = str_replace(" ", " ", $content);
$content = str_replace('"', """, $content);
$content = str_replace("'", "'", $content);
$content = str_replace("$", "$", $content);
$content = str_replace('}','‏}',$content);
return $content;
}