You're right, I should have used `$.trim()` instead.  I did need to trim here because the string value of `content` included leading spaces.  When I then tried to call `$(content)`, newer versions of jQuery would not properly convert it into a new DOM element because of those leading spaces.