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>

CommentFileSizeAuthor
#1 654252.patch1.41 KBRobLoach
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobLoach’s picture

Version: 6.x-1.4 » 6.x-1.x-dev
Status: Active » Needs review
FileSize
1.41 KB

Good call!

RobLoach’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.