Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Vanilla is proud to present version 2.2.
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.

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'));
Sign In or Register to comment.