[wp-trac] [WordPress Trac] #37066: Two paragraphs will merge if the later starts with <br>

WordPress Trac noreply at wordpress.org
Mon Mar 6 18:19:48 UTC 2017


#37066: Two paragraphs will merge if the later starts with <br>
--------------------------+-----------------------------
 Reporter:  rellect       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  TinyMCE       |     Version:  4.5.2
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+-----------------------------

Comment (by rellect):

 Replying to [comment:9 azaozz]:
 > Replying to [comment:7 rellect]:
 >
 > 37066.patch looks good. Thinking that 37066.2.patch would probably be
 slightly better as less backtracking in the regex (the logic is identical,
 just uses a callback instead of more complex regex).
 >
 Agreed, looks better. Added 37066.3 to correct a typo in the relevant
 comment.

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


More information about the wp-trac mailing list