Skip to content

Commit 386f91e

Browse files
lukastockerAmstutz
authored andcommitted
UI Components: Manual pick of #9595
1 parent c24fe18 commit 386f91e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

components/ILIAS/UI/src/Implementation/Component/Input/Field/Renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ protected function renderTagField(F\Tag $component, RendererInterface $default_r
387387
if ($value) {
388388
$value = array_map(
389389
function ($v) {
390-
return ['value' => urlencode($this->convertSpecialCharacters($v)), 'display' => $v];
390+
return ['value' => urlencode($v), 'display' => $v];
391391
},
392392
$value
393393
);

components/ILIAS/UI/src/Implementation/Component/Input/Field/Tag.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ protected function addAdditionalTransformations(): void
7575
if (count($v) == 1 && $v[0] === '') {
7676
return [];
7777
}
78-
return array_map("urldecode", $v);
78+
$array = array_map("urldecode", $v);
79+
return array_map('strip_tags', $array);
7980
}));
8081
}
8182

0 commit comments

Comments
 (0)