Re: Tidy doesnt require 'type' on 'style'

| I suggest to insert a type="text/css" automatically.

If No doctype or Html4+ is requestet. When the Doctype is set to Html32 it
would be illegal to add a type attribute, so it might be useful if a doctype
check is added:

    if (!type && lexer->doctype > VERS_HTML32)

instead of my suggested

|    if (!type)

regards,
 Bjoern Hoehrmann

Received on Thursday, 8 July 1999 14:39:20 UTC