Skip to content
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

Problems with handling apostrophes in html #26

Open
jeffkaufman opened this issue Jan 23, 2017 · 0 comments
Open

Problems with handling apostrophes in html #26

jeffkaufman opened this issue Jan 23, 2017 · 0 comments

Comments

@jeffkaufman
Copy link

jeffkaufman commented Jan 23, 2017

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:

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant