[BUGFIX] EXT:form - Render form name in form tree correctly 94/52094/3
authorMartin Kutschker <masi@typo3.org>
Sat, 4 Mar 2017 20:48:19 +0000 (20:48 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 20 Mar 2017 13:38:48 +0000 (14:38 +0100)
Do not double-encode name with HTML entities.

Resolves: #80343
Releases: master
Change-Id: If8e3757f0d34712f0daf03122e61b6ef06a1ccd0
Reviewed-on: https://review.typo3.org/52094
Reviewed-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: Ralf Zimmermann <ralf.zimmermann@tritum.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/form/Resources/Public/JavaScript/Backend/FormEditor/ViewModel.js

index 00e36e2..92741f0 100644 (file)
@@ -612,7 +612,7 @@ define(['jquery',
             if (getUtility().isUndefinedOrNull(title)) {
                 title = $('<span></span>')
                     .text((getRootFormElement().get('label') ? getRootFormElement().get('label') : getRootFormElement().get('identifier')))
-                    .html();
+                    .text();
             }
             getStructureRootElement().text(title);
         };