From 3c54ee80f7d7f3d002b7f6dc81b49ff89b2cb3b7 Mon Sep 17 00:00:00 2001 From: Ingolf Steinhardt Date: Wed, 30 Oct 2024 14:19:45 +0100 Subject: [PATCH] Fix decode for special chars in main nav --- src/CoreBundle/Resources/contao/dca/tl_metamodel.php | 7 ++++--- src/CoreBundle/Resources/contao/dca/tl_metamodel_dca.php | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/CoreBundle/Resources/contao/dca/tl_metamodel.php b/src/CoreBundle/Resources/contao/dca/tl_metamodel.php index 5a1b0921f..bcaf793b2 100644 --- a/src/CoreBundle/Resources/contao/dca/tl_metamodel.php +++ b/src/CoreBundle/Resources/contao/dca/tl_metamodel.php @@ -441,9 +441,10 @@ 'inputType' => 'text', 'search' => true, 'eval' => [ - 'mandatory' => true, - 'maxlength' => 255, - 'tl_class' => 'w50' + 'mandatory' => true, + 'useRawRequestData' => true, + 'maxlength' => 255, + 'tl_class' => 'w50' ], 'sql' => "varchar(255) NOT NULL default ''" ], diff --git a/src/CoreBundle/Resources/contao/dca/tl_metamodel_dca.php b/src/CoreBundle/Resources/contao/dca/tl_metamodel_dca.php index f8da7c337..dfd7a9189 100644 --- a/src/CoreBundle/Resources/contao/dca/tl_metamodel_dca.php +++ b/src/CoreBundle/Resources/contao/dca/tl_metamodel_dca.php @@ -357,7 +357,8 @@ 'exclude' => true, 'inputType' => 'text', 'eval' => [ - 'style' => 'width:100%', + 'decodeEntities' => true, + 'style' => 'width:100%', ] ], 'description' => [ @@ -366,7 +367,8 @@ 'exclude' => true, 'inputType' => 'text', 'eval' => [ - 'style' => 'width:100%', + 'decodeEntities' => true, + 'style' => 'width:100%', ] ], ],