mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-18 19:50:54 +00:00
mark document as strict HTML4 and let's spot errors d- no HTML5 due to frames.
This commit is contained in:
parent
f898f19b91
commit
eadaf46781
1 changed files with 2 additions and 5 deletions
|
@ -432,11 +432,8 @@ static NSMutableSet *textNodes = nil;
|
|||
|
||||
/* Declaration */
|
||||
[buf appendString: @"<!DOCTYPE html PUBLIC "];
|
||||
[buf appendString: @"\"-//W3C//DTD XHTML 1.0 Strict//EN\"\n"];
|
||||
[buf appendString: @"\"http://www.w3.org/TR/xhtml1/DTD/"];
|
||||
[buf appendString: @"xhtml1-strict.dtd\">\n"];
|
||||
[buf appendString: @"<html xmlns=\"http://www.w3.org/1999/xhtml\" "];
|
||||
[buf appendString: @"xml:lang=\"en\" lang=\"en\">\n"];
|
||||
[buf appendString: @"\"-//W3C//DTD HTML 4.01//EN\"\n"];
|
||||
[buf appendString:@"\"http://www.w3.org/TR/html4/strict.dtd\">"];
|
||||
|
||||
[self incIndent];
|
||||
[self outputNodeList: node to: buf];
|
||||
|
|
Loading…
Reference in a new issue