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

WordPress Trac noreply at wordpress.org
Mon Mar 6 01:35:59 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 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).

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


More information about the wp-trac mailing list