[wp-trac] [WordPress Trac] #37066: Enter after a break line being removed when switching to editor text mode

WordPress Trac noreply at wordpress.org
Sun Jan 29 02:03:41 UTC 2017


#37066: Enter after a break line being removed when switching to editor text mode
--------------------------+-----------------------------
 Reporter:  rellect       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  TinyMCE       |     Version:  4.5.2
 Severity:  minor         |  Resolution:
 Keywords:  needs-patch   |     Focuses:  administration
--------------------------+-----------------------------
Changes (by azaozz):

 * keywords:  reporter-feedback => needs-patch
 * severity:  normal => minor
 * milestone:  Awaiting Review => Future Release


Comment:

 Confirmed. It's a (minor) bug in `pre_wpautip()`. Exact HTML:
 {{{
 <p>111</p>
 <p><br>222</p>
 }}}

 Note that
 {{{
 <p>111<br></p>
 <p>222</p>
 }}}

 works as expected.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37066#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list