jQueryPlugins icon indicating copy to clipboard operation
jQueryPlugins copied to clipboard

Converts newlines to spaces in text areas on IE 8

Open buffalobillion opened this issue 14 years ago • 2 comments

When I call printElement(), on an area that has a text area, any newlines in that text area are immediately converted to spaces. This is in IE8 only--FF works fine.

buffalobillion avatar Oct 06 '10 19:10 buffalobillion

I think this is the culprit, around line 135-136 in _getElementHTMLIncludingFormElements(): else this.innerHTML = value;

buffalobillion avatar Oct 06 '10 21:10 buffalobillion

Thanks, I'll have a look.

erikzaadi avatar Oct 07 '10 07:10 erikzaadi