Escape=html, I believe, will escape HTML entities into readable text 
(preventing cross-site scripting) so
I think what you're seeing is correct. If you don't want escaping try 
escape=none instead.

Steve

>>> On 11/17/2009 at 1:48 PM, in message
<675141.34479...@web83405.mail.sp1.yahoo.com>, Jennifer Shanks
<shank...@yahoo.com> wrote:
> Hello everyone,
> 
> I'm using a query template to return results of a getfeatureinfo request.  
> One of the attributes is a URL and I would like to format it with an anchor 
> tag if a value exists, and display nothing if a value does not exist.  So far 
> I've tried:
> 
> [item name=park_url format="Park Website: <a href='$value' target='_blank' 
> >$value</a>" escape=html]
> 
> The problem with the above is that the format string comes out exactly as 
> written rather than as html.  Can someone point me in the right direction?
> 
> Thanks,
> Jennifer
> _______________________________________________
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to