I have the following macro…
\define mapping(maptype, filter)
<$leafmap tileControl tile='$maptype$' places='{"filter":"$filter$"}' cluster='30' />
\end
The filter passed to mapping is a generated list of tiddlers. Eg.
[[London, England]] [[St. James' Church]] England
This does not work because of the single quote in the filter and the usage of the leafmap macro.
What is the best way to resolve this?
Thank you.