there’s just something I like about serifs, so I thought it was about time I seriffed the fonts on my own site.
other than that, it’s still the same old boring gray theme.. tbh i’m waiting for WordPress 3 before my next major site facelift (not that the 2 are really related, but anyway…)
This is one of those routine web development things which you assume is inbuilt, but actually proves quite tedious to find a nice solution to.
Specifically, I am talking about converting something like ' to ‘ or & to & directly in Javscript.
This function does exactly that! Note how it adds a function to the prototype for String, so is called in the following way:
"Hello José".unescapeHtml()
Find the code here: paul schreiber » Blog Archive » JavaScript: how to unescape HTML entities.