vscode-webvalidation-extension icon indicating copy to clipboard operation
vscode-webvalidation-extension copied to clipboard

Comments before html code like DOCTYPE breaks everything

Open Jazza-231 opened this issue 2 weeks ago • 0 comments

If I have comments before my html code such as notes, this extension spits out all sorts of errors such as "Stray doctype" and stray html and head tags too. Please ignore comments and treat the first uncommented non blank line as the start of the html document. Currently I suspect it's getting upset because the DOCTYPE is not at the VERY top of the file.

Image

Jazza-231 avatar Feb 07 '25 03:02 Jazza-231