You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same happens if you have a PHP file with HTML embedded. The HTML will be commented using // instead <!-- -->
So, I guess it's happening with "multi-languages" files, the comment type is not detected according to the section of the code.
I didn't test but I bet the same would happen if you have CSS in the HTML file, or CSS in the HTML in the PHP file, or etc.
I have a
.html
file that contains only this text:If I highlight the two lines of javascript and press
alt+/
, it turns into this:when it should instead turn into this:
Not a huge deal but it would be nice if it could handle scripts embedded within HTML like this.
Thanks for the great plugin in any case! :)
The text was updated successfully, but these errors were encountered: