Please fix rel tags!!
-
Pages containing Disqus comment system fail HTML5 w3c validation due to “Bad value 102 https://somedomain/?p=102 for attribute rel on element span: The string 102 is not an absolute URL”
The offending code is:
<span class="dsq-postid" rel="'.htmlspecialchars(dsq_identifier_for_post($post)).'">
Which results in:
<span class="dsq-postid" rel="102 https://somedomain/?p=102">
“rel” should be replaced with data-* to make it pass HTML5 validation.
A fix is available here: https://www.iwebsource.net/wordpress-disqus-plugin-w3c-rel-validation-fix/
Please integrate into Disqus to make it HTML5 compliant!
- The topic ‘Please fix rel tags!!’ is closed to new replies.