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

Comments

Projects
None yet
4 participants
@murillo128
Contributor

murillo128 commented Feb 23, 2015

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 from HTMLJS: Error parsing script content to HTMLTools: Error parsing script content Feb 23, 2015

@murillo128

This comment has been minimized.

Contributor

murillo128 commented Feb 24, 2015

Sent a small PR with a workarround:
#3805

@mquandalle

This comment has been minimized.

Contributor

mquandalle commented Feb 25, 2015

Similar to #3619.

@dgreensp

This comment has been minimized.

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