I'm just a newcomer to Drupal, so not sure this is where or how I should go about requesting a fix for this! I've found a couple of parts of the Disqus module that are failing w3c validation, which should be straightforward to fix:
1) The Disqus Recent Comments block fails validation due to un-encoded ampersands here: <script type="text/javascript" src="http://disqus.com/forums/drupaltestsite/recent_comments_widget.js?num_items=5&avatar_size=32"></script>
2) The Disqus Comments block fails validation due to its use of a noscript tag. Noscript tags require their inner content to be contained within a block-level element.
<noscript><a href="http://drupaltestsite.disqus.com/?url=http%3A%2F%2Fwww.drupal.dev%2Fnode%2F3">View the discussion thread.</a></noscript>
is causing the problem. Placing the anchor within a div would solve this issue:
<noscript><div><a href="http://drupaltestsite.disqus.com/?url=http%3A%2F%2Fwww.drupal.dev%2Fnode%2F3">View the discussion thread.</a></div></noscript>
Comment | File | Size | Author |
---|---|---|---|
#1 | 654252.patch | 1.41 KB | RobLoach |
Comments
Comment #1
RobLoachGood call!
Comment #2
RobLoachThanks a lot! http://drupal.org/cvs?commit=343550