[mapserver-users] Problem: HTML-Entities in query templates

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Fri Nov 12 10:27:33 EST 2010


MapServer only escapes tag content so I assume you mean you have attribute data
that contains HTML? If so you can use the item tag:

Instead of [foo] try [item name="foo" escape="none"]...

Steve

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Markus Spring
Sent: Friday, November 12, 2010 7:52 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Problem: HTML-Entities in query templates

Hi list,

I ran into a problem when trying to use HTML-Entities like   inside my 
mapserver query templates: They always get printed as strings because mapserver 
escapes them.

A quick googling for this problem unfortunately brought no results. Does anybody 
have a solution for this?

best - Markus
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list