It looks like you're new here. If you want to get involved, click one of these buttons!
Amazing! Sign our contributors' agreement and then join us on GitHub.
authorName = authorName.replace( /'/g, "'" );
//strip whitespacenodeValue = nodeValue.replace(/^\s+|\s+$/g,' ');
hadnfieldTo fix the problem of spaces between tags getting stripped completely..
<img src="./smilies/default/biggrin.gif" alt=":biggrin:">