[wp-trac] [WordPress Trac] #52771: 5.7 issue p tag added to html comment
WordPress Trac
noreply at wordpress.org
Fri Mar 12 10:04:48 UTC 2021
#52771: 5.7 issue p tag added to html comment
-------------------------------+-----------------------
Reporter: fjcontrib | Owner: (none)
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Editor | Version: 5.7
Severity: critical | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+-----------------------
Changes (by SergeyBiryukov):
* keywords: => reporter-feedback
Comment:
Just noting that while the initial #52764 description is about media
embeds, the issue is not limited to that, and can happen with any
`<p></p>` tags that were not previously visible on the page, but are
visible now.
As noted in comment:6:ticket:52764, this is due to the change to block
library paragraph styles in
[https://github.com/WordPress/gutenberg/pull/27995 PR 27995].
If you add this to Appearance → Customize → Additional CSS as a
workaround, as suggested in comment:12:ticket:52764, does that fix the
issue for you?
{{{
body p:empty:before {
content: none;
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52771#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list