Actions
Bug #14914
closedconfig.disableImgBorderAttr should override anything
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2005-08-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
3.8.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Updated by Ernesto Baschny about 19 years ago
duplicated in http://bugs.typo3.org/view.php?id=1461
Actions