Doctype split across multiple lines

Problem:
Doctypes are output on multiple lines even when the width is set to a 
sufficently large number, like this:

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

While perfectly valid, some versions of Netscape still get confused by this 
and display the second line.

Suggested fix:
Output doctype declaration on a single line in lexer.c if remaining space 
permits:

1052c1052
<         AddStringLiteral(lexer, " \"");
---
>         AddStringLiteral(lexer, "\n    \"");


-- 
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/

Received on Sunday, 29 October 2000 11:03:32 UTC