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 2.3 fully supports PHP 7. Get it now!
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

nofollow on the wrong tag

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.