Я использую cleditor в качестве моего расширенного текстового редактора в плагине WordPress.
Однако, казалось бы, случайно, он решил вставить <span class="Apple-style-span">
в мой контент.
Я сделал быстрый Google и ничего не могу найти для cleditor
, но, очевидно, ckeditor
имел похожую ошибку в браузерах Webkit - оба автора контента на моем сайте используют Google Хром. Это было зарегистрировано как ошибка с webkit .
Кто-нибудь знает, как решить эту проблему, если не считать PHP str_replace
для сохранения или просмотра содержимого?
Вот пример вывода:
<h2 id="notes" class="profile_notes">Notes</h2>
<p>
<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">
<div>
This species is assigned the codes A220, A221 and A222 under the DATZ 'A' number system with these referring to similar-looking, possibly conspecific, populations. These differ in some aspects of colour pattern, particularly the orientation of the caudal-fin markings which may be horizontal, vertical, or somewhere inbetween.
</div>
<div>
<br>
</div>
<div>
One population displays an orange colouration on the belly and is sometimes referred to as A. mendezi 'orange' (A222) while another known as A. sp. 'fork-band' or 'gabelband' and collected in the rio Jaú may also represent a form of A. mendezi.
</div>
<div>
<span class="Apple-style-span" style="background-color: rgb(255, 255, 255); ">
<br>
</span>
</div>
Apistogramma is...
</div>
</span>
</p>
Заранее спасибо,