Hey, just got a tip from a friend, Steve. This tip will help prevent the issue of double quotes or no double quotes around javascript for the language attribute.

In Visual Studio 2005, go to Tools>Options> Text Editor > HTML > Format > Check both:

  • “Insert attribute value quotes when typing”
  • “Insert attribute value quotes for formatting”

VisualStudioToolsOptions
This will ensure all attribute values, such as the javascript value of the language attribute is always surrounded with quotes.

Thank you Steve.