我有在 tinymce 中开发的描述。这里有诸如等标签之类的标签<br/>
。<p>
我想打印它以显示它的功能。它向我展示的和它一样。
这是输出
<p><strong>Partial Sea and Marina view, Fully Furnished 2 bedroom apartment available for rent in Bahar 1, JBR!<br /></strong><br />
我想要强大的和 p 标记来使强大和段落。这是我的代码
$dess = str_replace(" ", '',$row['description_demo']);
$dess = str_replace("nbsp;", '',$dess);
echo htmlspecialchars(html_entity_decode(preg_replace("/&#?[a-z0-9]{2,8};/i","",$dess)));