Changing <p>...</p> to <p> in DSSSL stylesheets

Subject: Changing <p>...</p> to <p> in DSSSL stylesheets
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: Tue, 2 Nov 1999 09:33:09 -0500
Recently, I've had a number of new requests to make the HTML
output from my stylesheets HTML 4.0 compatible. To the best of
my knowledge, the only thing preventing this from being the case
(aside from errors on my part :-) is that blocks nested inside
paras aren't allowed in HTML. So,




which isn't allowed.

I'm inclined to "fix" this problem by omitting </p> end
tags. This is legal HTML and will generally do a better job than
the current situation which is clearly a violation of the DTD.

I'm not 100% convinced that every possible combination will
result in valid HTML 4.0, but surely a lot more combinations
will be valid.

Can anyone think of a reason why I shouldn't do this?


Norman Walsh <ndw@xxxxxxxxxx>      | Every new beginning comes from                 | some other beginning's end.

 DSSSList info and archive:

Current Thread