Project

General

Profile

Actions

Bug #25311

closed

generating the target for imagelinkwrap fails

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Must have
Category:
Content Rendering
Target version:
Start date:
2011-03-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

in the file for rendering the imagelinkwrap there seems to be a typo when generating the target-attribute for the link tag. atm $target is only being processed when it's not containing an actual value. it's supposed to be the other way round I guess.

oh, right, this causes trouble when trying to validate the page the imagelinkwrap is located on.

class.tslib_content.php:
1464 if(!$target) {
1465 $target = sprintf(' target="%s"', $target);
1466 } else {
1467 $target = ' target="thePicture"';
1468 }

(issue imported from #M17931)

Actions

Also available in: Atom PDF