Skip to content

Escape (or not) js urls in html

apneadiving edited this page Aug 7, 2012 · 1 revision

By default, js urls are escaped in the rendered html.

If for some reason you want it to be escaped, simply create an initializer with the following code:

Gmaps4rails.escape_js_url = false