http://stackoverflow.com/questions/7205902/how-to-safely-embed-json-with-script-in-html-document
var tags_list = "<%== @tags.to_json.gsub('/', '\/') %>";
var tags_list = "<%== @tags.to_json.gsub('/', '\/') %>";
No comments:
Post a Comment