Fixed tag encoding issue
authorMarcel Werk <burntime@woltlab.com>
Tue, 14 Mar 2017 17:15:53 +0000 (18:15 +0100)
committerMarcel Werk <burntime@woltlab.com>
Tue, 14 Mar 2017 17:16:12 +0000 (18:16 +0100)
com.woltlab.wcf/templates/tagInput.tpl

index 998b4ad157072d4db70a6d74e051da28035a05a6..c2e67bb4b4de9af1a1186a41703ed7d429fcae87 100644 (file)
@@ -11,7 +11,7 @@
                require(['WoltLabSuite/Core/Ui/ItemList'], function(UiItemList) {
                        UiItemList.init(
                                'tagSearchInput{if $tagInputSuffix|isset}{@$tagInputSuffix}{/if}',
-                               [{if $tags|isset && $tags|count}{implode from=$tags item=tag}'{$tag|encodeJS}'{/implode}{/if}],
+                               [{if $tags|isset && $tags|count}{implode from=$tags item=tag}'{@$tag|encodeJS}'{/implode}{/if}],
                                {
                                        ajax: {
                                                className: 'wcf\\data\\tag\\TagAction'