[TYPO3-english] Strip html tags from tt_news links' title attribute

Klemens Zleptnig klemens.zleptnig at boc-eu.com
Mon Dec 21 17:28:31 CET 2009


I have a requirement to allow <i> html tags in the title of my news - 
because some product names are written italic. Now the problem is that in 
the LIST or LATEST view the title-attribute which is used as the tooltip 
in Firefox displays the <i> tags. But they should be stripped away instead 
of being converted to entities.
I tried this:

plugin.tt_news.displayLatest.linkTitleField.stripHtml = 1

but it has no effect. If I define

plugin.tt_news.displayLatest.linkTitleField = bodytext

the <p> tags are removed but the <i> tags in html content remain.
Any ideas?


More information about the TYPO3-english mailing list