[wp-trac] [WordPress Trac] #3476: <object> elements should not be put on their own line by wpautop
WordPress Trac
noreply at wordpress.org
Mon Feb 12 05:36:53 UTC 2024
#3476: <object> elements should not be put on their own line by wpautop
--------------------------+------------------------
Reporter: Viper007Bond | Owner: (none)
Type: defect (bug) | Status: closed
Priority: high | Milestone:
Component: General | Version: 2.1
Severity: major | Resolution: duplicate
Keywords: needs-patch | Focuses:
--------------------------+------------------------
Comment (by luxuriouswfazs5):
Are you encountering issues with WordPress' wpautop function incorrectly
handling <object> elements, resulting in improper formatting and
unnecessary line breaks? Valid XHTML code, such as <object>Blah</object>,
is not being handled correctly, with wpautop adding unwanted <br /> tags
and failing to properly close <p> tags. This issue extends beyond <object>
tags and requires a comprehensive overhaul to address.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/3476#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list