Simon Willison’s Weblog

Subscribe

Automatic line ending conversions in IE

17th February 2004

I’ve just updated my SitePoint blog with a tale of Javascript debugging woe. To cut a long story short, Internet Explorer for both Mac and Windows automatically converts sane line endings in to the platform specific alternatives whenever you assign a Javascript string to the value attribute of a text area. It’s the kind of quirk that can take up a whole morning’s worth of debugging.

This is Automatic line ending conversions in IE by Simon Willison, posted on 17th February 2004.

Next: Hacking the political system

Previous: RSS vs Atom, condensed

Previously hosted at http://simon.incutio.com/archive/2004/02/17/lineEndings