[wp-trac] [WordPress Trac] #18534: Synchronize block tags between PHP and JS versions of wpautop()

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 11 22:41:42 UTC 2012


#18534: Synchronize block tags between PHP and JS versions of wpautop()
----------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov              |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Editor                      |     Version:  3.2
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------
Description changed by SergeyBiryukov:

Old description:

> As reported by WraithKenny on [comment:ticket:11947:5 #11947]:
>
> > Try in HTML Tab:
>
> {{{
> <select>
>         <option>Value</option>
>         <option>Value</option>
>         <option>Value</option>
>         <option>Value</option>
>         <option>Value</option>
> </select>
> }}}
> > Then switch to Visual and Back. The result is:
> {{{
> <select> <option>Value</option></select>
> <select> <option>Value</option></select>
> <select> <option>Value</option></select>
> <select> <option>Value</option></select>
> <select> <option>Value</option></select>
> }}}
>
> The patch synchronizes block tags between `formatting.php` and
> `editor.dev.js`, which fixes the issue.

New description:

 As reported by WraithKenny on #11947:

 > Try in HTML Tab:

 {{{
 <select>
         <option>Value</option>
         <option>Value</option>
         <option>Value</option>
         <option>Value</option>
         <option>Value</option>
 </select>
 }}}
 > Then switch to Visual and Back. The result is:
 {{{
 <select> <option>Value</option></select>
 <select> <option>Value</option></select>
 <select> <option>Value</option></select>
 <select> <option>Value</option></select>
 <select> <option>Value</option></select>
 }}}

 The patch synchronizes block tags between `formatting.php` and
 `editor.dev.js`, which fixes the issue.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18534#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list