Skip to content

Commit

Permalink
Merge branch 'hotfix/fix_decode_main_nav' into 'release/2.3.0'
Browse files Browse the repository at this point in the history
Fix decode for special chars in main nav

See merge request metamodels/core!351
  • Loading branch information
zonky2 committed Oct 30, 2024
2 parents e13e472 + 3c54ee8 commit bafc452
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 4 additions & 3 deletions src/CoreBundle/Resources/contao/dca/tl_metamodel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ''"
],
Expand Down
6 changes: 4 additions & 2 deletions src/CoreBundle/Resources/contao/dca/tl_metamodel_dca.php
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,8 @@
'exclude' => true,
'inputType' => 'text',
'eval' => [
'style' => 'width:100%',
'decodeEntities' => true,
'style' => 'width:100%',
]
],
'description' => [
Expand All @@ -366,7 +367,8 @@
'exclude' => true,
'inputType' => 'text',
'eval' => [
'style' => 'width:100%',
'decodeEntities' => true,
'style' => 'width:100%',
]
],
],
Expand Down

0 comments on commit bafc452

Please sign in to comment.