WIWOSM icon indicating copy to clipboard operation
WIWOSM copied to clipboard

Double encoding for ampersand

Open simon04 opened this issue 10 years ago • 0 comments

On the page https://toolserver.org/~kolossos/openlayers/kml-on-ol.php?lang=de&uselang=de&params=52.373235_N_9.736904_E_region:DE-NI_type:landmark&title=Sternheim_%26_Emanuel, the link "Sternheim & Emanuel" to the Wikipedia page does not work. It seems that & is encoded twice.

This might be due to the following two statements in http://toolserver.org/~kolossos/geoworld/marks-source.php:

$row[title]=str_replace("?","ß",$row[title]);
$row[title]=str_replace("&","&",$row[title]);

simon04 avatar Apr 18 '15 13:04 simon04