Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

nofollow on the wrong tag

This discussion is related to the Voting addon.
edited October 2010 in Vanilla 2.0 - 2.8
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.