[wp-trac] [WordPress Trac] #14674: HR destroys HTML

WordPress Trac noreply at wordpress.org
Fri Jun 28 07:15:40 UTC 2019


#14674: HR destroys HTML
----------------------------------------------+---------------------
 Reporter:  thomask                           |       Owner:  pento
     Type:  defect (bug)                      |      Status:  closed
 Priority:  normal                            |   Milestone:  5.3
Component:  Formatting                        |     Version:  3.0
 Severity:  normal                            |  Resolution:  fixed
 Keywords:  has-patch wpautop has-unit-tests  |     Focuses:
----------------------------------------------+---------------------
Changes (by pento):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"45574" 45574]:
 {{{
 #!CommitTicketReference repository="" revision="45574"
 Formatting: Add correct `<p>` tags near `<hr>` tags.

 It can be tricky to know when `wpautop()` should add `<p>` tags, but one
 thing we can be certain about is that they really shouldn't be anywhere
 near `<hr>` tags.

 Now they aren't.

 Props solarissmoke, MattyRob, pento.
 Fixes #14674.
 }}}

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


More information about the wp-trac mailing list