-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Embedded javascript string with //
have unexpected behavrio
#113
Comments
This issue doesn't occur with just the javascript grammar, only when its embedded like this. |
Thanks to some investigation from @mjbvz, the issue appears to be here: html.tmbundle/Syntaxes/HTML.plist Lines 341 to 359 in 0c3d5ee
Original comment is microsoft/vscode#112189 (comment) |
Well, same will happen when you use |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Original from @Namorzyny in microsoft/vscode#105779
Steps to Reproduce:
<input type="button" value="text" onclick="location.href='https://www.google.com'">
This only occurs if the
//
is in the string. The character before the//
will getinvalid.illegal.newline.js
.The text was updated successfully, but these errors were encountered: