Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


jQuery wrapper fails on IE8 (.trim() issue) #268

purtuga opened this Issue · 0 comments

2 participants

Paul T. David da Silva Contín
Paul T.

Using the jquery wrapper fails in IE8. The issue is this line:

var template = $(elm).html().trim();

.trim() fails because it looks like the returned object (String) does not have a trim method under IE8.
I created the following test case in jsFiddler:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.