[wp-trac] [WordPress Trac] #42340: Spurious Insertion of <p>aragraph Tags

WordPress Trac noreply at wordpress.org
Thu Oct 26 13:58:16 UTC 2017


#42340: Spurious Insertion of <p>aragraph Tags
--------------------------+------------------------------
 Reporter:  oeconomist    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by JPry):

 Replying to [comment:2 oeconomist]:
 > But wpautop should not be replacing explicit mark-up in the first place.
 It's one thing for a user to hit the Enter key twice; something else for
 him or her to enter “<br /><br />”.

 You're right that it's different when a user is entering explicit markup.
 The problem faced in WordPress Core is determining when a user is
 explicitly entering markup, vs. when they did a copy/paste from somewhere,
 or otherwise unintentionally included such markup. I would venture to say
 that '''most''' users are not entering explicit markup like you've
 described.

 My opinion is that this particular situation isn't something that needs to
 be addressed by WordPress Core.

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


More information about the wp-trac mailing list