I'm using Mapping kit wirh FCKeditor. FCKeditor converses " to "
For example from

Text before the map.
[map context="node/1/context/" /]
Text following the map.

to

<p>Text before the map.<br />
[map context=&quot;node/1/context/&quot; /]<br />
Text following the map.</p>

Mapping kit can't transform it:
warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /var/www/segelseite/sites/all/modules/mappingkit/mapclient/mapclient.module on line 219.

and shows a blank map.

Is there a special trick, which I don't know?

CommentFileSizeAuthor
#3 mapclient.module.patch746 bytesjpulles
#1 mapclient.module.patch865 bytesjpulles

Comments

jpulles’s picture

Title: Conversion from " to &quot; » Conversion from " to &quot; when using FCKeditor
Assigned: Unassigned » jpulles
Status: Active » Needs review
StatusFileSize
new865 bytes

Can you please check by applying the attached patch, or just add the html_entity_decode function in line 157 of mapclient.module?
This should revert the &quot;'s back to quotes.

jpulles’s picture

Status: Needs review » Needs work

Solution is not sufficient.

jpulles’s picture

StatusFileSize
new746 bytes

Only the part within [map /] is decoded with the new patch.

gatonero’s picture

Status: Needs work » Reviewed & tested by the community

Thank You, that's working very fine. :-)

Mapping Kit is becoming my most favorised georeferencing module :-)

jpulles’s picture

Status: Reviewed & tested by the community » Fixed

Included in release 6.x-1.2.

spydmobile’s picture

Thanks Fellas!!!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.