Skip to content

Commit

Permalink
[Bugfix] Fixed a bug with font-family fields not allowing html-entiti…
Browse files Browse the repository at this point in the history
…es "" and ''
  • Loading branch information
zoglo committed Aug 12, 2021
1 parent dbf9753 commit 53c7083
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/contao/templates/theme-manager-config.html5
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ return array(
'default' => 'Arial, sans-serif',
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['font-family-base'],
'inputType' => 'text',
'eval' => array('placeholder'=>'Arial, sans-serif', 'maxlength' => 255, 'tl_class'=>'w50'),
'eval' => array('placeholder'=>'Arial, sans-serif', 'maxlength' => 255, 'preserveTags'=>true, 'tl_class'=>'w50'),
),
'font-size-base' => array
(
Expand Down Expand Up @@ -1104,7 +1104,7 @@ return array(
'default' => '"fontello"',
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['icon-font-family'],
'inputType' => 'text',
'eval' => array('placeholder'=>'"fontello"', 'maxlength' => 255, 'tl_class'=>'w50'),
'eval' => array('placeholder'=>'"fontello"', 'maxlength' => 255, 'preserveTags'=>true, 'tl_class'=>'w50'),
),
'icon-size-tiny' => array
(
Expand Down Expand Up @@ -1207,7 +1207,7 @@ return array(
'default' => '$font-family-base',
'label' => &$GLOBALS['TL_LANG']['tl_thememanager']['form-input-font-family'],
'inputType' => 'text',
'eval' => array('placeholder'=>'$font-family-base', 'maxlength' => 255, 'tl_class'=>'w50 clr'),
'eval' => array('placeholder'=>'$font-family-base', 'maxlength' => 255, 'preserveTags'=>true, 'tl_class'=>'w50 clr'),
),
'form-input-font-size' => array
(
Expand Down

0 comments on commit 53c7083

Please sign in to comment.