Added Twitter card meta data does not Validate
-
Looks like the end tags for all these meta tags are missing if our theme doctype is XHTML 1.0 Transitional. Using latest WP and Plugin.
Validation Error:
End tag for X omitted, but OMITTAG NO was specified
You may have neglected to close an element, or perhaps you meant to “self-close” an element, that is, ending it with “/>” instead of “>”.Line 16, column 45: end tag for “meta” omitted, but OMITTAG NO was specified
<meta name=”twitter:card” content=”summary”>
Line 17, column 44: end tag for “meta” omitted, but OMITTAG NO was specified
<meta name=”twitter:site” content=”@…”>
Line 18, column 102: end tag for “meta” omitted, but OMITTAG NO was specified
…age’ content=’…logo.png’>
Line 19, column 201: end tag for “meta” omitted, but OMITTAG NO was specified
….”>Is there a reason these are left off? If not, I have an update for you. It’s as easy as adding in a handful of ‘/’ to close all the meta tags, but if you want the updated file let me know where to send it.
The topic ‘Added Twitter card meta data does not Validate’ is closed to new replies.