diff --git a/src/Resources/contao/templates/rsts_default.html5 b/src/Resources/contao/templates/rsts_default.html5 index c939182..bb163bf 100644 --- a/src/Resources/contao/templates/rsts_default.html5 +++ b/src/Resources/contao/templates/rsts_default.html5 @@ -90,7 +90,7 @@ } } if (!empty($slide['title'])) { - $attributes[] = 'data-rsts-name="' . $slide['title'] . '"'; + $attributes[] = 'data-rsts-name="' . \Contao\StringUtil::specialchars($slide['title']) . '"'; } if (!empty($slide['centerContent'])) { if ($slide['centerContent'] === 'false') { @@ -147,7 +147,7 @@ ?> -