[Zope-dev] zope-tests - FAILED: 11, OK: 12
Tres Seaver
tseaver at palladion.com
Thu Mar 7 17:07:38 UTC 2013
-----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 tseaver at 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-----
More information about the Zope-Dev
mailing list