[mapguide-users] Apostrophe in legend

Zac Spitzer zac.spitzer at gmail.com
Sun Nov 17 18:32:33 PST 2013


Torrini,

the fix has been approved, it's a quick fix you can make yourself, just
remove the addslashes() from this line

 $layerObj->legendLabel = addslashes($layer->GetLegendLabel());

as per http://trac.osgeo.org/fusion/attachment/ticket/608/LoadMap.php.patch

under Web\www\fusion\layers\MapGuide\php\LoadMap.php


On Sun, Nov 17, 2013 at 1:05 AM, Zac Spitzer <zac.spitzer at gmail.com> wrote:

> this has been logged http://trac.osgeo.org/fusion/ticket/608
>
>
> On Sat, Nov 16, 2013 at 1:33 AM, torrini <maria.kallbach at geoplanteam.ch>wrote:
>
>> Hi list,
>>
>> I have the problem that captions in the legend with a ' appear as \'
>> e.g. "Plan d'ensemble numerique" -> "Plan d\'ensemble numerique"
>>
>> I got MapGuide 2.5.1 and a fusion layout.
>>
>> Is there a possibility to avoid this escape character?
>>
>>
>> -torrini
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/Apostrophe-in-legend-tp5089369.html
>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>
>
>
> --
> Zac Spitzer
> +61 405 847 168
>
>


-- 
Zac Spitzer
+61 405 847 168
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20131118/a97bec5c/attachment.html>


More information about the mapguide-users mailing list