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
<h1>I'm using multi-web-mode</h1>
<script>
function a() {
console.log("a");
}
</script>
When I move down inside the script multi-web-mode enables javascript-mode on the whole buffer. But javascript-mode gets confused by the apostrophe in the h1, thinks that we're inside a quote, and doesn't know how to indent properly:
The text was updated successfully, but these errors were encountered:
Consider this file:
When I move down inside the script multi-web-mode enables javascript-mode on the whole buffer. But javascript-mode gets confused by the apostrophe in the
h1
, thinks that we're inside a quote, and doesn't know how to indent properly:The text was updated successfully, but these errors were encountered: