Closed Nguonchhay closed 7 years ago
Hi,
I've just attempted to emulate this by directly submitting the following markup to W3's Nu checker instance:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Test</title>
</head>
<body>
<h1>Test</h1>
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
</div>
</body>
</html>
This results in the error you've mentioned, but this is because fb:like:layout
is not a valid attribute for <a>
elements. Therefore, this is not an issue with Valimate. If possible, you should use an alternative plugin that generates valid markup.
I integrate the facebook like button. That plugin add extra attribute
fb:like:layout
in taga
. As the result, thevalimate
displays:Attribute “fb:like:layout” not allowed on element “a” at this point. - Line 14, Column 9038
Attribute “fb:like:layout” is not serializable as XML 1.0.