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

WordPress Trac noreply at wordpress.org
Fri Oct 27 22:15:31 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):

 Okay, yes.  Now two work-arounds have been provided (as well as a direct
 look at the code).  But they are just work-arounds, not patches of the
 bug.

 It is one thing for the code to recognize that most users don't know or
 don't want to be bothered with mark-up, and therefore to interpret
 newlines as paragraph closures; it's another for the code to infer that a
 user didn't intend the mark-up that he or she entered.  And, because
 breaks are inline elements, this conversion can break mark-up in ways that
 are mysterious to many users.

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


More information about the wp-trac mailing list