Re: {bug?] fake dtd inside html comment beying used

On 06.11.99 at 21:22, Terje Bless <link@tss.no> wrote:

>edit the "check" CGI program on line 1144.
>
>Original: $dttext =~ s/.*doctype\s+html\s+public\s*["']//i;
>     New: $dttext =~ s/.*?doctype\s+html\s+public\s*["']//i;

Oh, or you could just throw in a few newlines in your HTML (3 ought to do
it) after the first DOCTYPE -- so your DOCTYPEs are at least five lines
apart -- and the validator will work correctly.

Received on Saturday, 6 November 1999 15:52:36 UTC