Bug #17562
closedfunction getBeforeAfter in class.tslib_menu.php didn´t work properly
0%
Description
When using the typoscript -function "beforeImg", the generated <img>-Tag is not correct. After the height-parameter there is a space missing:
In place of:
height="10" border="0"
you get:
height="10"border="0"
You can fix this by editing the "class.tslib_menu.php".
In line #15154 (Typo3 v4.1.2) change the line:
$res='<img src="'.$GLOBALS['TSFE']->absRefPrefix.$imgInfo3.'" width="'.$imgInfo0.'" height="'.$imgInfo1.'"'.$name.($this->I['val'][$pref.'ImgTagParams']?" ".$this->I['val'][$pref.'ImgTagParams']:'').tslib_cObj::getBorderAttr('border="0" ');
with this:
$res='<img src="'.$GLOBALS['TSFE']->absRefPrefix.$imgInfo3.'" width="'.$imgInfo0.'" height="'.$imgInfo1.'" '.$name.($this->I['val'][$pref.'ImgTagParams']?" ".$this->I['val'][$pref.'ImgTagParams']:'').tslib_cObj::getBorderAttr('border="0" ');
(issue imported from #M6215)
Files
Updated by Frank no-lastname-given about 17 years ago
Sorry - this is the wrong category. Can someone move this report to "Typo3 Core"?