Merge pull request #4205 from humhub/fix/4140

Fix #4140: Profile field hint is double encoded
This commit is contained in:
Lucas Bartholemy 2020-07-07 19:32:02 +02:00 committed by GitHub
commit 18f9f3e21e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -343,7 +343,7 @@ class HForm extends \yii\base\Component
}
if(!empty($definition['hint']) && $field instanceof ActiveField) {
$field->hint(Html::encode($definition['hint']));
$field->hint(Html::encode($definition['hint'], false));
}
return $field;

View File

@ -7,6 +7,7 @@ HumHub Change Log
- Fix #4060: Profile description and text regex error message not translatable
- Fix #4153: Administration: Email transport configuration 'Save & Test' Gives No Result
- Fix #4187: Use of invalid LivePushAsset namespace
- Fix #4140: Profile field hint is double encoded
1.5.2 (May 20, 2020)
--------------------