Project

General

Profile

Bug #19448 » typo3core_bugfix_9537_typo3_4-2.patch

Administrator Admin, 2008-10-11 18:22

View differences:

t3lib/class.t3lib_parsehtml_proc.php (copie de travail)
}
if (!count($attribArray_copy)) { // Only if href, target and class are the only attributes, we can alter the link!
// Creating the TYPO3 pseudo-tag "<LINK>" for the link (includes href/url, target and class attributes):
$bTag='<link '.$info['url'].($attribArray['target']?' '.$attribArray['target']:(($attribArray['class'] || $attribArray['title'])?' -':'')).($attribArray['class']?' '.$attribArray['class']:($attribArray['title']?' -':'')).($attribArray['title']?' "'.$attribArray['title'].'"':'').'>';
$bTag='<link '.$info['url'].($attribArray['target']?' '.$attribArray['target']:(($attribArray['class'] || $attribArray['title'])?' -':'')).($attribArray['class'] ? (' "' . $attribArray['class'] . '"') : ($attribArray['title']?' -':'')).($attribArray['title']?' "'.$attribArray['title'].'"':'').'>';
$eTag='</link>';
$blockSplit[$k] = $bTag.$this->TS_links_db($this->removeFirstAndLastTag($blockSplit[$k])).$eTag;
} else { // ... otherwise store the link as a-tag.
(2-2/2)