Index: t3lib/class.t3lib_parsehtml_proc.php =================================================================== --- t3lib/class.t3lib_parsehtml_proc.php (Revision 7431) +++ t3lib/class.t3lib_parsehtml_proc.php (Arbeitskopie) @@ -738,6 +738,19 @@ } } + // 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 = '