Re: serialization and wrapping

Laurent Jouanneau <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
Jonas Sicking wrote:
> Laurent Jouanneau wrote:
>> Hi,
>>
>> I'm working on the serializer (bug 422403), and I would like to know 
>> if, when we want to wrap at 72 characters for example, line break (\n, 
>> \r or \r\n) should be or not included in this 72 characters. In other 
>> words, "\n" is the character number 72 or number 73 in the line ?
>>
>> In the actual trunk, it seems that it is included in these 72 
>> characters, but I want to be sure that it is correct.
> 
> I think in general newlines are not included in applications wrapping, 
> so I'd say go ahead and fix that.
> 
> / Jonas

Ok, my patch will fix that :-)

Thanks

Laurent
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.