[wp-trac] [WordPress Trac] #48052: <center> tag around [video] inserts   and new lines every post update (or even switch between source and post)
WordPress Trac
noreply at wordpress.org
Sun Feb 19 19:35:31 UTC 2023
#48052: <center> tag around [video] inserts   and new lines every post update
(or even switch between source and post)
-------------------------------------+----------------------
Reporter: archon810 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Editor | Version: 5.3
Severity: normal | Resolution: wontfix
Keywords: needs-patch 2nd-opinion | Focuses:
-------------------------------------+----------------------
Changes (by azaozz):
* status: new => closed
* resolution: => wontfix
* milestone: Future Release =>
Comment:
As @sabernhardt mentions above centering content shouldn't use the old
`<center>` tag. Looking at w3.org, that tag is "entirely obsolete, and
must not be used by authors". See https://www.w3.org/TR/2011/WD-
html5-20110405/obsolete.html#non-conforming-features. Best would be to
replace it with a div as described above.
Closing as "wontfix". Please feel free to reopen if there is a reason to
still support this tag despite the W3 standards.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48052#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list