Here's yet another shocker from the half-baked world of Internet Explorer. Start up IE 8. Press F12 or start the Developer Tools. Then, click the Script tab and then the Console tab on the right pane. At the command line at the bottom, type
" this has padded whitespace ".trim();
press Enter, and behold:
Insane! Thankfully, the folks at jQuery have taken care of this.