Bug #19643 ยป class.t3lib_parsehtml.php.diff
class.t3lib_parsehtml.php 2008-11-25 16:38:23.000000000 +0100 | ||
---|---|---|
*/
|
||
function prefixResourcePath($main_prefix,$content,$alternatives=array(),$suffix='') {
|
||
$parts = $this->splitTags('embed,td,table,body,img,input,form,link,script,a',$content);
|
||
$parts = $this->splitTags('embed,td,table,body,img,input,form,link,script,a,area',$content);
|
||
foreach ($parts as $k => $v) {
|
||
if ($k%2) {
|
||
$params = $this->get_tag_attributes($v,1);
|
||
... | ... | |
break;
|
||
case 'link':
|
||
case 'a':
|
||
case 'area':
|
||
$src = $params[0]['href'];
|
||
if ($src) {
|
||
$params[0]['href'] = $this->prefixRelPath($prefix,$params[0]['href'],$suffix);
|