mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
[html] errors in attributes on missing semicolons and parens. Fixes #15970
This commit is contained in:
@@ -225,7 +225,7 @@ function append(result: string, str: string, n: number): string {
|
||||
}
|
||||
|
||||
function getAttributeLanguage(attributeName: string): string {
|
||||
let match = attributeName.match(/^(style)|(on\w+)$/i);
|
||||
let match = attributeName.match(/^(style)$|^(on\w+)$/i);
|
||||
if (!match) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user