IE loses line-ending when glow.data.escapeHTML is applied to textarea contents
Reported by Michael Mathews | September 4th, 2009 @ 04:45 PM
Comments and changes to this ticket
-
Michael Mathews September 4th, 2009 @ 04:47 PM
- Milestone cleared.
- Tag changed from defect to defect
- State changed from new to accepted
- Assigned user cleared.
At the moment, when we escape HTML we use a method like
var escaped = glow.dom.create('<div></div>').text( textToEscape ).html();
We need to change this to
var escaped = glow.dom.create('<pre></pre>').text( textToEscape ).html();
This needs to be done for glow.lang.interpolate and glow.data.escapeHTML.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A JavaScript Library