Sadly, I had a minor problem with the links from the comments to the targets of those links… WordPress somehow URL-encoded the ' rel='external nofollow'
-part into the URL, resulting in something like <a href='http://example.com/'rel='external nofollow'>link text</a>
which – needless to say – did not really work that well. Turns out the culprit was in comment-template.php
on line 148 (Vanilla wordpress 2.7), which reads $return = "<a href='$url' rel='external nofollow' class='url'>$author</a>";
. I simply replaced the ‘ with \"
, and suddenly everything works. Damn strange I’m the only one with this problem tho.
The full line, changed, reads the following:
$return = "<a href=\"$url\" rel=\"external nofollow\" class=\"url\">$author</a>";
Tags
Arthur C. Clarke avgifter backup bøker cuil film foto frp hacks hardware host humor instant messaging ip itpro juiced konspirasjon konspirasjonsteori kraftlinjer kripos kudos Linux musikk nanotechnology nettverk okkupasjon OpenSolaris open standards openSuSE opprør php plan9 politikk reklame SCI-FI sikkerhet skeptiker smugling software spam usability utilities vitenskap windows xmppSider
Blogroll
{ 1 } Comments
I guess it’s because single quotes are not XML, so is allowed in HTML but not in XHTML