[wp-trac] Re: [WordPress Trac] #3850: HTML editor should process dl tag like ol and ul

WordPress Trac wp-trac at lists.automattic.com
Fri May 4 00:58:28 GMT 2007


#3850: HTML editor should process dl tag like ol and ul
---------------------+------------------------------------------------------
 Reporter:  yskin    |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  low      |    Milestone:  2.3      
Component:  TinyMCE  |      Version:  2.1.1    
 Severity:  normal   |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Old description:

> click Code tab, enter
> {{{
> <dl><dt>1</dt><dd>2</dd></dl>
> }}}
> Click Visual tab and than click Code tab, get result:
> {{{
> <dl> <dt>1</dt> <dd>2</dd> </dl>
> }}}
> Enter “<ul><li>1</li><li>2</li></ul>”, the result is
> {{{
> <ul>
>         <li>1</li>
>         <li>2</li>
> </ul>
> }}}
> Why HTML editor can not replace “<dl><dt>1</dt><dd>2</dd></dl>” to
> {{{
> <dl>
>         <dt>1</dt>
>         <dd>2</dd>
> </dl>
> }}}

New description:

 click Code tab, enter
 {{{
 <dl><dt>1</dt><dd>2</dd></dl>
 }}}
 Click Visual tab and than click Code tab, get result:
 {{{
 <dl> <dt>1</dt> <dd>2</dd> </dl>
 }}}
 Enter “<ul><li>1</li><li>2</li></ul>”, the result is
 {{{
 <ul>
         <li>1</li>
         <li>2</li>
 </ul>
 }}}
 Why can't the text editor replace “<dl><dt>1</dt><dd>2</dd></dl>” to
 {{{
 <dl>
         <dt>1</dt>
         <dd>2</dd>
 </dl>
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3850#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list