diff --git a/index.php b/index.php
index 32c9917..9c7ac5a 100644
--- a/index.php
+++ b/index.php
@@ -58,7 +58,6 @@ $events = array_slice($events, 1);
$locale = locale_accept_from_http($_SERVER['HTTP_ACCEPT_LANGUAGE']);
if ($locale !== null){
setlocale(LC_TIME, $locale);
-
}
?>
@@ -94,7 +93,7 @@ if ($locale !== null){
Events
Nächste Veranstaltung
-
= $first_event->summary ?>
+ = htmlspecialchars($first_event->summary, ENT_QUOTES, 'UTF-8') ?>
= $ical->iCalDateToDateTime($first_event->dtstart_array[3])->format('Y-m-d H:i'); ?>
Danach:
@@ -103,7 +102,7 @@ if ($locale !== null){
= $ical->iCalDateToDateTime($event->dtstart_array[3])->format('Y-m-d H:i') ?> |
-= $event->summary ?> |
+= htmlspecialchars($event->summary) ?> |
@@ -118,6 +117,9 @@ if ($locale !== null){
+