Bug #20851 ยป 20851_linktitle_workaround.diff
typo3_src-4.5.6/t3lib/class.t3lib_softrefproc.php 2011-09-19 14:09:02.000000000 +0000 | ||
---|---|---|
foreach ($linkElement as $k => $typolinkValue) {
|
||
$tLP = $this->getTypoLinkParts($typolinkValue);
|
||
$linkElement[$k] = $this->setTypoLinkPartsElement($tLP, $elements, $typolinkValue, $k);
|
||
// rheel: workaround
|
||
$x = explode(' ', $typolinkValue, 4);
|
||
$linkElement[$k] . = ' ' . $x[3];
|
||
}
|
||
// Return output:
|
||
... | ... | |
if ($k % 2) {
|
||
$typolinkValue = preg_replace('/<LINK[[:space:]]+/i', '', substr($foundValue, 0, -1));
|
||
$tLP = $this->getTypoLinkParts($typolinkValue);
|
||
$linkTags[$k] = '<LINK ' . $this->setTypoLinkPartsElement($tLP, $elements, $typolinkValue, $k) . '>';
|
||
// rheel: workaround
|
||
$x = explode(' ', $typolinkValue, 4);
|
||
$linkTags[$k] = '<LINK ' . $this->setTypoLinkPartsElement($tLP, $elements, $typolinkValue, $k) . ' ' . $x[3] . '>';
|
||
}
|
||
}
|
||