Actions
Feature #17212
closedEnhancement of class.t3lib_htmlmail.php
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-04-17
Due date:
% Done:
0%
Estimated time:
PHP Version:
4.3
Tags:
Complexity:
Sprint Focus:
Description
when using style="background:url();" the images in url won't be parsed.
Solution :
function extractMediaLinks() {
....
// new
if (!(strpos(strtolower($attributes["style"]),'url(')===false)) {
$urlstart=strpos(strtolower($attributes["style"]),'url(')+4;
$urlend=strpos(strtolower($attributes["style"]),')',$urlstart);
$imageData["ref"]=substr($attributes["style"],$urlstart,$urlend-$urlstart);
}
// end new
if ($imageData["ref"]) {
...
Additionally the Tag "div" should be added to $attribRegex in the third line of function extractMediaLinks()
(issue imported from #M5439)
Actions