[BUGFIX] Remove not working CDATA usage in JS template file 74/53374/2
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 30 Jun 2017 10:21:32 +0000 (12:21 +0200)
committerAndreas Fernandez <typo3@scripting-base.de>
Sat, 1 Jul 2017 18:53:35 +0000 (20:53 +0200)
The "{" character is now wrapped into f:format.raw.

Change-Id: I472bf9f600d43bbb8a0d5d5f691109c20599fd90
Resolves: #81755
Releases: master, 8.7
Reviewed-on: https://review.typo3.org/53374
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/fluid/Resources/Private/Templates/ViewHelpers/Widget/Autocomplete/Index.html

index 949c625..9b92fba 100644 (file)
@@ -1,6 +1,6 @@
 <script type="text/javascript">
 jQuery(function() {
-       jQuery("#{id}").autocomplete(<![CDATA[{]]>
+       jQuery("#{id}").autocomplete(<f:format.raw value="{" />
                source: "{f:widget.uri(action:'autocomplete', ajax: 1)}",
                minLength: 2
        });