[wp-trac] [WordPress Trac] #55679: Invalid HTML detected in WP core by w3.org validator

WordPress Trac noreply at wordpress.org
Wed May 4 17:29:47 UTC 2022


#55679: Invalid HTML detected in WP core by w3.org validator
--------------------------+-----------------------------
 Reporter:  wordmax       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.9.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Using latest version of WordPress & Blocksy theme with very few
 modifications or plugins. I notified Blocksy of an invalid HTML detected
 by validator.w3.org and the theme developers say that the WordPress core
 is actually the cause, not the theme.

 Here is the code that produces invalid HTML at w3.org:

 {{{
 <style>.wp-container-1 .alignleft { float: left; margin-right: 2em; }.wp-
 container-1 .alignright { float: right; margin-left: 2em; }</style>
 <style>.wp-container-2 .alignleft { float: left; margin-right: 2em; }.wp-
 container-2 .alignright { float: right; margin-left: 2em; }</style>
 <style>.wp-container-3 .alignleft { float: left; margin-right: 2em; }.wp-
 container-3 .alignright { float: right; margin-left: 2em; }</style>
 }}}

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


More information about the wp-trac mailing list