[BUGFIX] Prevent leading space for empty ATagParams 54/23954/3
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Sun, 22 Sep 2013 09:08:57 +0000 (11:08 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 23 Sep 2013 21:49:53 +0000 (23:49 +0200)
commitd46858dfbd110ab216ae8de41c90f55cf7bc86c7
treeb5314d7a0291c17e9db14605ac1e22fbe313eb08
parent172606b36c4348c921b3cc5c43516ddb36b9fc8d
[BUGFIX] Prevent leading space for empty ATagParams

Currently a leading space will be returned by the ATagParams handler when
the $addGlobal parameter is TRUE.

This patch trims any space if no ATagParams have been configured.

Resolves: #52171
Releases: 6.2
Change-Id: I53b3723e530beb96ff0dc9606963c6d9928d4478
Reviewed-on: https://review.typo3.org/23954
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php