Fix #3294: space picker encoding

This commit is contained in:
buddh4 2018-09-18 13:59:29 +02:00
parent 0eee495ee6
commit 981a858b94
2 changed files with 2 additions and 1 deletions

View File

@ -9,6 +9,7 @@ HumHub Change Log
- Enh: Improved theme parent lookup performance - Enh: Improved theme parent lookup performance
- Enh: Added auto file attachment in `humhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor` - Enh: Added auto file attachment in `humhub\modules\content\widgets\richtext\ProsemirrorRichTextProcessor`
- Fix: z-index issue with fixed richtext menu - Fix: z-index issue with fixed richtext menu
- Fix #3294: space picker encoding
1.3.2 (September 4, 2018) 1.3.2 (September 4, 2018)

View File

@ -22,7 +22,7 @@ class Chooser extends Widget
{ {
$spaceInfo = []; $spaceInfo = [];
$spaceInfo['guid'] = $space->guid; $spaceInfo['guid'] = $space->guid;
$spaceInfo['title'] = Html::encode($space->name); $spaceInfo['title'] = $space->name;
$spaceInfo['tags'] = Html::encode($space->tags); $spaceInfo['tags'] = Html::encode($space->tags);
$spaceInfo['image'] = Image::widget(['space' => $space, 'width' => 24]); $spaceInfo['image'] = Image::widget(['space' => $space, 'width' => 24]);
$spaceInfo['link'] = $space->getUrl(); $spaceInfo['link'] = $space->getUrl();