The context:
I need to insert an imagemap into a page in TYPO3 6.1.
As EXT:imagemap_wizard is not working currently in 6.1, I can create the imagemap offline and then insert it via the HTML content type.
The question:
It would be nice to be able to just write the internal URLs in the HTML, but output realURLs. Can the "HTML" type field be passed through the parser that renders URLs?
So that
<area shape="rect" href="index.php?id=55" coords="6,153,189,231" alt="">
would be rendered as
<area shape="rect" href="/my/realurl/" coords="6,153,189,231" alt="">
Or is there another way? Maybe put the HTML into a fluid template and tell it to render any URL it finds in the template?
The simple approach with parseFunc_RTE does not work, because we need to act on the attribut. So, this code is tested with css_styled_content TYPO3 6.1. So, just use the tags function: