小记一下
使用 htmlspecialchars_decode()函数将转义字符还原为HTML标签
$str = '<p><span style=";font-family:微软雅黑;font-size:16px"> <span style="font-family:微软雅黑">';
htmlspecialchars_decode($str)
返回
'<p><span style=";font-family:微软雅黑;font-size:16px"> <span style="font-family:微软雅黑">'
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END








![表情[ciya]-红穆笔记](https://www.4s5.cn/wp-content/themes/zibll/img/smilies/ciya.gif)
![表情[xia]-红穆笔记](https://www.4s5.cn/wp-content/themes/zibll/img/smilies/xia.gif)


暂无评论内容