Project

General

Profile

Actions

Bug #52171

closed

Prevent trailing space for empty ATagParams

Added by Alexander Stehlik about 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2013-09-21
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

At the moment \TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::getATagParams() returns a space character even if no ATagParams are present.

The leading space should only be appended if the ATagParams are not empty.

This seems to be just a cosmetic issue but I try to write some test for makelinks and other link generation related methods and this is a bit annoying so it would be great if it could be fixed.

Actions #1

Updated by Gerrit Code Review about 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23954

Actions #2

Updated by Gerrit Code Review about 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23954

Actions #3

Updated by Alexander Stehlik about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF