On Mon, Feb 21, 2011 at 03:08:18AM +0300, Maxim Dounin wrote:
On Sun, Feb 20, 2011 at 09:47:37PM +0100, Clément Bœsch wrote:
static u_char title = -"<html>" CRLF +"<!DOCTYPE html>" CRLF "<head><title>Index of " ;
The result isn't html at all.
Well it's HTML5…
The HTML5 syntax is no longer based on SGML despite the similarity of its markup. It has, however, been designed to be backward compatible with common parsing of older versions of HTML. It comes with a new introductory line that looks like an SGML document type declaration, <!DOCTYPE html>, which triggers the standards-compliant rendering mode.
Did I missed something?