This commit is contained in:
Riccardo Mottola 2024-08-22 14:26:08 +02:00
parent 8792f56ebd
commit 550facb17f

View file

@ -431,9 +431,7 @@ static NSMutableSet *textNodes = nil;
buf = [NSMutableString stringWithCapacity: 4096];
/* Declaration */
[buf appendString: @"<!DOCTYPE html PUBLIC "];
[buf appendString: @"\"-//W3C//DTD HTML 4.01//EN\"\n"];
[buf appendString:@"\"http://www.w3.org/TR/html4/strict.dtd\">\n"];
[buf appendString: @"<!DOCTYPE html>\n"];
[buf appendString: @"<html lang=\"en\">"]; // if we support multi-lang doc, this should be dynamic
[self incIndent];