#14914config.disableImgBorderAttr should override anything
Description
The fix added to 3.8.0 for http://bugs.typo3.org/view.php?id=797 had a bug in that the disableImgBorderAttr was checked wrongly. Now there is a fix for it in CVS, but it still isn’t right:
class.tslib_content.php, line 2518:
if (!t3lib_div::inList(‘xhtml_strict,xhtml_11,xhtml_2’,$GLOBALS[‘TSFE’]->config[‘config’][‘doctype’]) || !$GLOBALS[‘TSFE’]->config[‘config’][‘disableImgBorderAttr’]) {
return $borderAttr;
}
I would like the disableImgBorderAttr attribute to override any other setting, so that I could turn off the border-tags even if my doctype is xhtml_trans. This is not possible. A simple solution would be to change the logic in the test from OR (||) to AND (&&).
(issue imported from #M1360)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.