I’m looking for some comments on. Brief background, I’m making a gmaps
interface and am trying to render a partial to a string in my controller
so I can pass it through to my maps object (a library) for handling.
To make this work I need to escape the text returned by the template.
However, I can’t do this right before passing it to the object, since
My next thought was to define a container template that did nothing but
escape the content, e.g.:
The problem with this is that render_to_string is only available to the
controller. So, I can’t escape after the fact, or render a string in
template, where I could escape it.
that available to the controller?
Thanks as always for the help,