[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: spiffy patch attempt (was Re: [Chicken-users] Minor issue with spiff
From: |
Dan Muresan |
Subject: |
Re: spiffy patch attempt (was Re: [Chicken-users] Minor issue with spiffy's sxml->html) |
Date: |
Tue, 2 Jan 2007 00:45:49 +0200 |
On 12/31/06, John Cowan <address@hidden> wrote:
A suggestion for all this introduction of newlines: instead of
adding newlines after end-tags and worrying about which ones can
and cannot have a problem with it, why not add a newline *within*
the end-tag, thus: "</b\n>"? That's a general solution and
simplifies the problem greatly.
While that's valid HTML, it will easily confuse some non-compliant
HTML parsers (I tried that and had problems in at least one piece of
proprietary software).
Personally, I'd vote for no newlines at all. Humans can use 'tidy
-indent' to reformat code.
Dan Muresan
http://alumnus.caltech.edu/~muresan/