multi-web-mode
multi-web-mode copied to clipboard
Problems with handling apostrophes in html
Consider this file:
<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: