php 怎么去除编辑器提交的空白字符
就像这样的空白字符:
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ --> <p> </p>
,再替换
$str = '<p> </p>'; $result = htmlspecialchars_decode($str); <br><font color="#e78608">------解决方案--------------------</font><br>