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,&#39;http://192.168.12.60/cgi-bin/mapserv?map=/var/www/geomod/demo.map&amp;&#39;,
>
> // make comment for the rest of the line :(
> and & became &amp;
> and ' became &#39;
>
> 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.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to