Skip to content

Double encoding for ampersand #10

@simon04

Description

@simon04

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]);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions