#17562function getBeforeAfter in class.tslib_menu.php didn´t work properly
Description
When using the typoscript -function “beforeImg”, the generated -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=’'.$GLOBALS['TSFE']->absRefPrefix.$imgInfo<sup class=3.’” width=”’.$imgInfo0.’” height=”’.$imgInfo1.’”’.$name.($this->I[‘val’][$pref.‘ImgTagParams’]?” “.$this->I[‘val’][$pref.‘ImgTagParams’]:’‘).tslib_cObj::getBorderAttr(‘border=“0” ‘);
with this:
$res=’'.$GLOBALS['TSFE']->absRefPrefix.$imgInfo<sup class=3.’” width=”’.$imgInfo0.’” height=”’.$imgInfo1.’” ‘.$name.($this->I[‘val’][$pref.‘ImgTagParams’]?” “.$this->I[‘val’][$pref.‘ImgTagParams’]:’‘).tslib_cObj::getBorderAttr(‘border=“0” ‘);
(issue imported from #M6215)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.