[wp-trac] [WordPress Trac] #52567: Shortcodes in separate <p> tags appear on same line in browser

WordPress Trac noreply at wordpress.org
Thu Feb 18 11:52:53 UTC 2021


#52567: Shortcodes in separate <p> tags appear on same line in browser
----------------------------+-----------------------------
 Reporter:  pawanahluwalia  |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.6.1
 Severity:  normal          |   Keywords:  needs-patch
  Focuses:                  |
----------------------------+-----------------------------
 Please see the posts at the link below:

 https://wordpress.org/support/topic/shortcodes-in-separate-tags-appear-on-
 same-line-in-browser/#post-14065192

 This problem:

 - ONLY occurs with <p> tags
 - Only when no other item is between the tags except the shortcode.
 - It does NOT occur when using other tags, such as headings, lists, etc.
 - It does NOT occur if there is something before or after the shortcode in
 the same tag that is non-whitespace.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52567>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list