[PATCH] Acid2 comment fix

Allan Sandfeld Jensen kde at carewolf.com
Tue May 17 18:35:21 BST 2005


On Tuesday 17 May 2005 18:02, Leo Savernik wrote:
> Am Dienstag, 17. Mai 2005 01:37 schrieb Ivor Hewitt:
> > This is a patch for Dave Hyatt's acid comment fix (acid6.txt), the logic
> > looks correct. i.e. the parseComment now ignores anything between paired
> > "--"'s within a comment block.
> > Is there any reason not to have this? or is there a more elegant way of
> > doing this? or is this simply considered an "unnecessary SGML legacy"?
>
> It must be implemented to move further towards total HTML compliance, but
> *only* in strict mode. Otherwise, existing pages will break. (Yes, those
> pages using comments like
> <!----------------------------------------->
>
> :-( )
>
Wouldn't it possible to collapse extra dashes? In other words treat any number 
of more than two dashes as exactly two. It would break the SGML compatiblity 
of <!-----> but I don't really care for that.

`Allan




More information about the kfm-devel mailing list