Fork me on GitHub
Current Releases are 2.1 stable (major release) and 2.0.18.11 (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

nofollow on the wrong tag

edited October 2010 in Questions
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.