From 30971e3ade26a2c61dab5277742b1a276e90cefe Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Thu, 31 Aug 2017 13:21:59 +0200 Subject: [PATCH] Improve some string handling --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 25b6536..5f2ba24 100644 --- a/index.php +++ b/index.php @@ -98,7 +98,7 @@ if ($type == "validate") { print(" " . trim($service["start"]["station"]) . "" . $api->validate($service["start"]["station"])[0]["id"] . "\n"); print(" " . $service["start"]["date"] . "\n"); print(" " . $service["start"]["plattform"] . "\n"); - print(" " . htmlspecialchars($service["start"]["prognose"], ENT_XML1, 'UTF-8') . ""); + print(" " . htmlspecialchars($service["start"]["prognose"], ENT_XML1, 'UTF-8') . "\n"); print(" \n"); print(" \n");