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

azeef abdul azeef at pitsolutions.com
Mon Dec 21 17:50:27 CET 2009


Hi,

Try this;

plugin.tt_news.displayLatest.linkTitleField.stdWrap.stripHtml = 1




________________________________
From: Klemens Zleptnig <klemens.zleptnig at boc-eu.com>
To: typo3-english at lists.typo3.org
Sent: Mon, December 21, 2009 9:58:31 PM
Subject: [TYPO3-english] Strip html tags from tt_news links' title attribute

Hi,

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?

Klemens
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list