-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/07/2013 11:51 AM, Stephan Richter wrote: > On Thursday, March 07, 2013 05:46:48 PM Marius Gedminas wrote: >> I'm not sure that's the right thing to do. Perhaps page templates, >> when given a file on disk with \r\n, should normalize the line >> endings to \n? >> >> Opinions? > > I think we should retain EOL characters as long as clients (i.e. > browsers) understand them, which they do.
With template source, tools may require platform-specific line endings. For rendered HTML / XML, no tool / browser that wants to work with the 'net at large can have such expectations, which makes preserving them a non-use-case. +1 to Marius' proposal to open template files with 'U' in the mode. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tsea...@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlE4yVoACgkQ+gerLs4ltQ6mEgCffTFzG8t0Pj1zMjSclJAo6bKE t5oAoMvDejWwpKceqfG5ilogZfJoIdXm =Yryz -----END PGP SIGNATURE----- _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )