diff --git a/src/Resources/contao/forms/FormCalendarField.php b/src/Resources/contao/forms/FormCalendarField.php index c5fb5d9..90a32cb 100644 --- a/src/Resources/contao/forms/FormCalendarField.php +++ b/src/Resources/contao/forms/FormCalendarField.php @@ -114,7 +114,7 @@ public function parse($arrAttributes=null) $this->disabledDays = $this->getActiveDisabledDays($dateFormat); // add the custom configuration - $this->customConfiguration = $this->dateCustomConfiguration; + $this->customConfiguration = htmlspecialchars_decode($this->dateCustomConfiguration); return parent::parse($arrAttributes); }