Alex Duck wrote in post #1018609: > Is there no easy way to embed HTML safe JSON in an HTML document, and > have > it parsed by JavaScript engine at the same time?
You could Base64 encode the JSON and decode it on the client-side with JavaScript. I am ABSOLUTELY NOT recommending that you do this, but simply stating that it could work. Still a bad design idea IMHO. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

