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

Klemens Zleptnig klemens.zleptnig at boc-eu.com
Mon Dec 21 18:22:02 CET 2009


Thanks, but it has the same (=no) effect.


typo3-english-bounces at srv02.typo3.org wrote on 21.12.2009 17:50:27:

> 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
> _______________________________________________
> 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