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
Missing escape of labels #54
Comments
You should use
The |
@jacobat is right. I didn't escape the labels:
|
Would it be possible to construct the JS strings with Say: @cols.each do |column|
js << "data_table.addColumn("
js << column.to_json
js << ");"
end |
winston
added a commit
that referenced
this issue
Jan 19, 2013
Fixed. Thank you! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following piece of code will break when trying to run in the browser:
If I
puts
theto_js
call I get:Where the problem is:
The quote in
It's
is what's breaking the javascript.The text was updated successfully, but these errors were encountered: