Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Critical: Update to 2.1.8, released 15 Jan.

nofollow on the wrong tag

edited October 2010 in Vanilla 2.0 Help
This discussion is related to the Voting addon.
Found a minor issue doing W3C validation. rel=nofollow was getting added to the i tag. See the alteration below:

echo Anchor(Wrap(Wrap('Vote Up', 'i'), 'i', array('class' => 'ArrowSprite SpriteUp')), $VoteUpUrl, 'VoteUp'.$CssClass, array('rel' => 'nofollow'));
echo Wrap(StringIsNullOrEmpty($Object->Score) ? '0' : $Object->Score);
echo Anchor(Wrap(Wrap('Vote Down', 'i'), 'i', array('class' => 'ArrowSprite SpriteDown')), $VoteDownUrl, 'VoteDown'.$CssClass, array('rel' => 'nofollow'));
Tagged:
Sign In or Register to comment.