[BUGFIX] Toolbar items with separator: fix white-space 92/18892/2
authorFelix Kopp <felix-source@phorax.com>
Sun, 24 Feb 2013 16:14:05 +0000 (17:14 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 14 Mar 2013 08:59:04 +0000 (09:59 +0100)
commit2db1c4825764c97b8a7ee3de52c89c70e80dd2e3
tree3497bb510bbeb010e3c0a471f9430a66d90c0a3d
parent746bac83951fcaeacfdbddad98a6623e2de0620e
[BUGFIX] Toolbar items with separator: fix white-space

The toolbar function could output erroneous html is case
additional toolbar items do not bring additionalAttributes.

Additional attributes are defined based on ToolbarItemHookInterface.
But additionalAttributes can be an empty string:

Fix output <liclass="separator"> to <li class="separator">
by adding an extra white-space.

Change-Id: I09338d17848c8fc74b25e7c532d6ee329956321b
Fixes: #45795
Releases: 6.0, 6.1
Reviewed-on: https://review.typo3.org/18892
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Controller/BackendController.php