PITS /
00816: wikistyles can't add rel='whatever' when rel is already set
Summary: wikistyles can't add rel='whatever' when rel is already set
Created: 2006-10-18 10:38
Status: Open
Category: Bug
From: JonHaupt
Assigned:
Priority: 4
Version: 2.2.0.beta19
OS:
Description: I noticed this bug when I tried to do something like this:
%rel=lightbox% [[http://whatever/blah.jpg|Attach:blahblahblah.jpg]]
the wikistyle wasn't applied. I finally figured out that my links were already having rel='nofollow' set using Cookbook:ControllingWebRobots (the following line is copied from that recipe):
1. rel="nofollow" for all external links (new default for beta20)
$UrlLinkFmt
= "<a class='urllink' href='\$LinkUrl' rel='nofollow'>\$LinkText</a>";
once I instead set it to
$UrlLinkFmt
= "<a class='urllink' href='\$LinkUrl'>\$LinkText</a>";
it worked normally.