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

WordPress Trac noreply at wordpress.org
Thu Oct 26 01:45:07 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 oeconomist):

 Replying to [comment:1 SergeyBiryukov]:
 >
 > You can disable the `wpautop()` filter: [[BR]]
 >
 http://codex.wordpress.org/Function_Reference/wpautop#Disabling_the_filter

 Thank you; that's quite useful.

 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 />”.

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


More information about the wp-trac mailing list