[wp-trac] [WordPress Trac] #2691: HTML comments in posts aren't handled properly.

WordPress Trac noreply at wordpress.org
Fri Dec 1 14:47:33 UTC 2017


#2691: HTML comments in posts aren't handled properly.
-------------------------------------------------+-------------------------
 Reporter:  gord                                 |       Owner:
     Type:  defect (bug)                         |  adamsilverstein
 Priority:  normal                               |      Status:  accepted
Component:  Formatting                           |   Milestone:  5.0
 Severity:  normal                               |     Version:  2.8.5
 Keywords:  wpautop dev-feedback has-patch has-  |  Resolution:
  unit-tests                                     |     Focuses:
-------------------------------------------------+-------------------------

Comment (by bobbingwide):

 I've just had to develop a workaround for this long term bug.
 In my opinion wpautop shouldn't create any <br /> tags when dealing with
 new lines following comments.
 It should produce the same results as if the comment were not present.

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


More information about the wp-trac mailing list