Improve some string handling
This commit is contained in:
parent
9239cb3148
commit
30971e3ade
|
@ -98,7 +98,7 @@ if ($type == "validate") {
|
|||
print(" <station><name>" . trim($service["start"]["station"]) . "</name><id>" . $api->validate($service["start"]["station"])[0]["id"] . "</id></station>\n");
|
||||
print(" <date>" . $service["start"]["date"] . "</date><time>" . trim($service["start"]["time"]) . "</time>\n");
|
||||
print(" <platform>" . $service["start"]["plattform"] . "</platform>\n");
|
||||
print(" <current>" . htmlspecialchars($service["start"]["prognose"], ENT_XML1, 'UTF-8') . "</current>");
|
||||
print(" <current>" . htmlspecialchars($service["start"]["prognose"], ENT_XML1, 'UTF-8') . "</current>\n");
|
||||
print(" </departure>\n");
|
||||
|
||||
print(" <arrival>\n");
|
||||
|
|
Loading…
Reference in a new issue