[TYPO3-english] tt_news links - why?

Bernhard Kraft kraftb at kraftb.at
Sat Oct 24 21:40:16 CEST 2009


La Farge Douglas schrieb:
> Why is typo3 converting embedded links (using the RTE) from this (in the
> Text input window):
> 
> <a title="Opens internal link in current window" class="internal-link"
> href="http://my.site.com/?id=2">Fry</a>
> To this (as source of the web page):
>  <link 2 - internal-link "Opens internal link in current window">Fry</link>
> Needless to say this "breaks" the link as it's not HTML
> 
> And how do I turn the behaviour  off?
> 
> IT doesn't do this in a Text pagecontent container (links are rendered
> properly)

If you render the tt_news elements (RTE fields) with your own extension
you should probably use:


$htmlContent = $this->pi_RTEcssText($row['rte_field']);

to retrieve the RTE content properly converted.


greets,
Bernhard


More information about the TYPO3-english mailing list