etodanik / ie8linter

A little tool to lint websites for IE8 compatibility, with warnings for possible pitfalls
http://ie8.caffeine.co.il/
MIT License
727 stars 20 forks source link

index.jade "(lang...)" parameter doesn't parse and generates an invalid HTML5 doctype on the public homepage #7

Closed scunliffe closed 9 years ago

scunliffe commented 9 years ago

Just noticed on the public site: http://ie8.caffeine.co.il/ that the page wasn't rendering properly due to an issue with the doctype - found the source here and wanted to let you know.

Line 1: doctype html(lang='en')

Generates: <!DOCTYPE html(lang='en')>...

Which is not valid. Should be <!doctype html><head...

etodanik commented 9 years ago

fixed in https://github.com/israelidanny/ie8linter/commit/3b291701bafa8123d31a02d676d246d18a09d3fa