我正在使用ckeditor5最新编辑器。 来源:https://ckeditor.com/ckeditor-5/download/。
我正在尝试使用以下php函数回显存储在mysql中的文本
`$text="<p style= 'color:black;position:relative;font-size:medium; text-align:left;padding:2px'> " . $row["post"]." ";
$posts= nl2br($text);
echo'<span style="font-size:medium;word-wrap: break-word;">';
$totalpost= htmlspecialchars_decode($posts);
echo $totalpost;
echo'</span>';
`
但是输出结果如下,但视频却没有。
“ rel =” nofollow“ target ='_ blank'> https://vimeo.com/76979871”>
MySQL中存储的文本如下
<figure class="media"><oembed url="https://vimeo.com/76979871"></oembed></figure>
我可以使用什么php函数来获得所需的输出?