[wp-trac] [WordPress Trac] #3826: Editor messes up tags
WordPress Trac
wp-trac at lists.automattic.com
Tue Feb 20 21:48:19 GMT 2007
#3826: Editor messes up tags
------------------------+---------------------------------------------------
Reporter: novasource | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.1.1
Component: General | Version: 2.1
Severity: normal | Keywords:
------------------------+---------------------------------------------------
If this code is stored in the database:
{{{
<li>
<div class="g2image_float_right"><wpg2id>6355</wpg2id></div>
<p><strong>some boldfaced text</strong> Other text.</li>
}}}
the editor converts it to this when you open it in an editor:
{{{
<li>
<p class="g2image_float_right"><wpg2id></wpg2id>6355
<strong>some boldfaced text</strong> Other text.</li>
}}}
The editor stripped the div tags, put the div tags' content inside the p
tags, and assigned the div's class to the p.
--
Ticket URL: <http://trac.wordpress.org/ticket/3826>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list