WordPress.org

Make WordPress Core

Opened 6 months ago

Last modified 6 months ago

#52567 new defect (bug)

Shortcodes in separate <p> tags appear on same line in browser

Reported by: pawanahluwalia Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.6.1
Component: Shortcodes Keywords: needs-patch
Focuses: Cc:

Description

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.

Change History (1)

#1 @SergeyBiryukov
6 months ago

  • Component changed from General to Shortcodes
Note: See TracTickets for help on using tickets.