Feature #22515 ยป 14205.diff
t3lib/class.t3lib_parsehtml_proc.php (Arbeitskopie) | ||
---|---|---|
}
|
||
}
|
||
// Hook for manipulating the resulted href
|
||
$hookObjectsArr = array();
|
||
if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['TS_links_rte_process'])) {
|
||
foreach($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['TS_links_rte_process'] as $classRef) {
|
||
$hookObjectsArr[] = &t3lib_div::getUserObj($classRef);
|
||
}
|
||
}
|
||
foreach($hookObjectsArr as $hookObj) {
|
||
if (method_exists($hookObj, 'preProcessHref')) {
|
||
$hookObj->preProcessHref($this, $href);
|
||
}
|
||
}
|
||
// Setting the A-tag:
|
||
$bTag = '<a href="'.htmlspecialchars($href).'"'.
|
||
($tagCode[2]&&$tagCode[2]!='-' ? ' target="'.htmlspecialchars($tagCode[2]).'"' : '').
|