#113 accepted
Michael Mathews

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

    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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A JavaScript Library

Shared Ticket Bins

People watching this ticket

Tags

Pages