Bug #25311
closedgenerating the target for imagelinkwrap fails
100%
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)