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

HTMLTools: Error parsing script content #3797

Closed
murillo128 opened this issue Feb 23, 2015 · 3 comments
Closed

HTMLTools: Error parsing script content #3797

murillo128 opened this issue Feb 23, 2015 · 3 comments

Comments

@murillo128
Copy link
Contributor

SpacebarsCompiler.parse("<script>var x='<div>';</script>") 

yields the following error:

Error: Expected "div" end tag
...=$('<div>');</script>
                        ^

(the ^ is under </ script>)

@murillo128 murillo128 changed the title HTMLJS: Error parsing script content HTMLTools: Error parsing script content Feb 23, 2015
@murillo128
Copy link
Contributor Author

Sent a small PR with a workarround:
#3805

@mquandalle
Copy link
Contributor

Similar to #3619.

@dgreensp
Copy link
Contributor

dgreensp commented Mar 3, 2015

Reproduction is in #3619.

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

4 participants