vscode-html-languageservice
Advanced tools
Comparing version 2.0.0-next.2 to 2.0.0-next.3
@@ -111,2 +111,5 @@ (function (factory) { | ||
} | ||
else { | ||
this.goToEnd(); | ||
} | ||
return ''; | ||
@@ -113,0 +116,0 @@ }; |
@@ -728,2 +728,20 @@ (function (factory) { | ||
}]); | ||
assertTokens([{ | ||
input: '<style>color:red', | ||
tokens: [ | ||
{ offset: 0, type: htmlScanner_1.TokenType.StartTagOpen }, | ||
{ offset: 1, type: htmlScanner_1.TokenType.StartTag, content: 'style' }, | ||
{ offset: 6, type: htmlScanner_1.TokenType.StartTagClose }, | ||
{ offset: 7, type: htmlScanner_1.TokenType.Styles } | ||
] | ||
}]); | ||
assertTokens([{ | ||
input: '<script>alert("!!")', | ||
tokens: [ | ||
{ offset: 0, type: htmlScanner_1.TokenType.StartTagOpen }, | ||
{ offset: 1, type: htmlScanner_1.TokenType.StartTag, content: 'script' }, | ||
{ offset: 7, type: htmlScanner_1.TokenType.StartTagClose }, | ||
{ offset: 8, type: htmlScanner_1.TokenType.Script } | ||
] | ||
}]); | ||
}); | ||
@@ -730,0 +748,0 @@ }); |
{ | ||
"name": "vscode-html-languageservice", | ||
"version": "2.0.0-next.2", | ||
"version": "2.0.0-next.3", | ||
"description": "Language service for HTML", | ||
@@ -5,0 +5,0 @@ "main": "./lib/htmlLanguageService.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
294451
4970