使用Table进入WordPress插件编辑器时如何避免自动生成<br/>标签

时间:2016-10-25 13:05:31

标签: php wordpress events plugins

我正在使用WordPress Event plus插件,这个插件有一个编辑器 把事件细节。当我使用表格时,我会在浏览器上看到事件详细信息 在表格内容之前自动生成这么多</br>

但是当我将表格用于WordPress编辑器时,生成的数字为</br>,数据显示正常。

如何避免此类问题?

1 个答案:

答案 0 :(得分:1)

可能是你的代码就是这样

<div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,</div>

remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with 

<span>desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span>

如果是,请删除所有输入

<div>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting,</div>remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with<span>desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</span>