ASP.NET MVC bundles causing errors in W3C HTML validation

125 Views Asked by At

I do use ASP.NET MVC 5 and I include my JavaScript files with bundles. ASP.NET then generates a file name with a hash value at the end of the file. Between the filename and the hash value is a '=' character. When I validate my HTML code at W3C I get the following error:

= in an unquoted attribute value. Probable causes: Attributes running together or a URL query string in an unquoted attribute value.

I am not sure if there is an option to fix this error. Does anyone have any idea how to fix this bug?

0

There are 0 best solutions below