[BUGFIX] Toolbar items with separator: fix white-space 58/18458/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:57:11 +0000 (09:57 +0100)
commit66d63348c3ccab76e2a4c76d04c9939c1ad10fc0
tree918f9b91812e9028d0de23421c051f6697596239
parentcc2cfe78bf7ea872cf429e06d8a92ac772f2506a
[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/18458
Reviewed-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/backend/Classes/Controller/BackendController.php