Add missing |encodeJS in tagAdd.tpl
authorTim Düsterhus <duesterhus@woltlab.com>
Thu, 2 Apr 2015 20:21:26 +0000 (22:21 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Thu, 2 Apr 2015 20:21:26 +0000 (22:21 +0200)
wcfsetup/install/files/acp/templates/tagAdd.tpl

index e936215bb02ea528a2cb5da4c8eec98cd007a938..bb4f20cf99c1921d33c77ac44133da72d379ed2a 100644 (file)
@@ -77,7 +77,7 @@
                                                var $tagList = new WCF.Tagging.TagList('#synonymList', '#synonyms');
                                                
                                                {if $synonyms|isset && $synonyms|count}
-                                                       $tagList.load([ {implode from=$synonyms item='synonym'}'{$synonym}'{/implode} ]);
+                                                       $tagList.load([ {implode from=$synonyms item='synonym'}'{$synonym|encodeJS}'{/implode} ]);
                                                {/if}
                                        });
                                        //]]>