Rocking the blogosphere
Apple Online Store

Bug in Auto-hyperlink URLs WordPress plugin

The Auto-hyperlink URLs WordPress plugin is very cool, but I found a gnarly little bug in it while I was viewing this post:

Try posting something like this:

Here's a
<a href="http://email.about.com/cs/wincleanreviews/gr/ecleaner.htm">
review from About.com
</a>.

This gets rendered as:

Here’s a review from About.com.

where the HTML source looks like this:

Here&#8217;s a
<a href="http://email.about.com/cs/wincleanreviews/gr/ecleaner.htm">
review from
<a href="http://About.com" title="http://About.com" target="_blank">About.com</a></a>.

Unfortunately, it tries to linkify About.com even though it’s already inside a link. This causes it to fail XHTML validation, which is what made me notice this bug in the first place.

Del.icio.us Digg Reddit Technorati

Possibly related posts

Comments

  1. February 9th, 2008 | 11:45 pm

    I have been visiting this site a lot lately, so i thought it is a good idea to show my appreciation with a comment.

    Thanks,
    Jim Mirkalami

    PS: I am a single dad. ;)

Leave a reply

Apple Online Store
Apple Online Store