I have object JS was returned by AJAX. In this object there is field map that contents JS code.
When I do: {{data.map.js}} in template HTML, it gives me text instead working JS code.
This is code in template:
{{data.map.js}}
{{data.map.html}}
Object from response Ajax (short code):
map { html: "<div id="map_canvas" style="width:566px; height:310px;"></div>"
js: "↵ <script type="text/javascript">↵...}
<script>I get JS with tag<script>already