Posts for month: February 2010

jQuery Mango plugin updated to 1.4.2

Now that the new release of jQuery 1.4 is settling down, it’s time to update my jQuery Mango plugin.

It doesn’t do much – just includes the jQuery library (version 1.4.2) into the head of your blog page.

Update: Plugin release 2 now includes the latest version of the BasePlugin cfc, to avoid error messages on upgrading.

3 comments Posted on 22 February, 2010, in jQuery, Mango Blog

Stop mail clients auto-linking text as URLs

Wow – it’s been a while since I last posted…

This is just a quickie – a reminder for my own reference, but could also be useful to others.

I’m building a shop, and the email confirmations include the line:

Your credit card statement will show a payment to "MYDOMAIN.COM".

Which is fine, except that many mail clients (e.g. Apple Mail) will take MYDOMAIN.COM and link it as a URL – which I don’t want.

To avoid this, simply add a zero width space into the “URL” – for instance:

Your credit card statement will show a payment to "MYDOMAIN​.COM".

(That’s the HTML version. If you’re generating a plain text alternative (using CFML, of course), you’ll want to use #Chr(8203)#).

The text will now look identical – except it will not be linked by the mail client.

2 comments Posted on 9 February, 2010, in HTML, Quick Tips