bsturdivan/StripWhitespaces — comment on commit 919c2add236f9663b5dbc907efae8e9e2f00f60a
File: StripWhitespaces.js line 4
By bsturdivan:

elContent.replace does remove the whitespaces, but it returns a string. The rest of the function is so the string can be returned as a DOM object.