{% autoescape *OFF* %} <script> {{ script }} </script> {% endautoescape %}
On Mon, Dec 20, 2010 at 3:41 PM, Tonton <to.ton...@gmail.com> wrote: > yes i am reading on this > > but this > {{script|escapejs}} seems to not work > i investigate more > > thanks > > > On Mon, Dec 20, 2010 at 3:37 PM, Tom Evans <tevans...@googlemail.com>wrote: > >> On Mon, Dec 20, 2010 at 2:20 PM, Tonton <to.ton...@gmail.com> wrote: >> > hello >> > >> > i don't the the name of ' and this " but is about my trouble with it ... >> > >> > i try to made a script for open layers with url >> > :http://ipadress/webservices >> > >> > like this >> > >> > var wms0=new >> > OpenLayers.Layer.WMS(restcl_bus_line,' >> http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/demo.map&', >> > >> > from string concatenation wmsdef >> > +="'http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/demo.map& >> '," >> > >> > but i receive this in the web page >> > >> > wms0=new >> > OpenLayers.Layer.WMS(restcl_bus_line,' >> http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/demo.map&'<http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/demo.map&'> >> ;, >> > >> > // make comment for the rest of the line :( >> > and & became & >> > and ' became ' >> > >> > so my script not working >> > >> > did someone knows how to change this ? >> > >> > regards >> > >> > tonton >> > >> >> http://docs.djangoproject.com/en/1.2/ref/templates/builtins/#autoescape >> >> HTH >> >> Tom >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to django-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.