Hi, Perhaps you can use [yourFIELD_raw]. It shouldn't encode HTML.
http://mapserver.org/mapfile/template.html [attribute name],[attrribute name_esc],[attribute item name_raw] Or you can use javascript in your templates to solve this <!-- Mapserver Template --> <script> var ret = "[yourFIELD]".split(" ").join("<br>"); document.write(ret); </script> Arnd -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Jörg Thomsen Gesendet: Freitag, 9. September 2011 12:01 An: [email protected] Betreff: [mapserver-users] getFeatureInfo html with special characters indatasource hi, I'd like to get a html-feature-info like Niedersachsen 167 I get both, 'Niedersachsen' and '167' from the same table-column of the database and I need the line break between them. When I use 'Niedersachsen<br>167' in the Atrributes, mapserver changes the brackets into the html-entities and i get 'Niedersachsen<br>167' which is shown as 'Niedersachsen<br>167' in the browser-window. Are there any special-characters I can use in the database or is there an other solution? Jörg _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
