[TYPO3] Help understanding why crop works in this code but stripHtml does'nt

StephenBungert stephenbungert at yahoo.de
Fri Jun 27 14:02:28 CEST 2008


ok. I have since discovered that the problem is caused by tt_news on line
1030 of class.tx_ttnews.php

$GLOBALS['TSFE']->ATagParams = $pTmp.'
title="'.$this->local_cObj->stdWrap(trim(htmlspecialchars($row[$titleField])),
$lConf['linkTitleField.']).'"';

It sends the content through htmlspecialchars() so there is no html to
remove.

Is there anyway in typoscript to reverse the htmlspecialchars() function,
like passing through htmlspecialchars_decode()

-----
-- 
Stephen Bungert
-- 
View this message in context: http://www.nabble.com/Help-understanding-why-crop-works-in-this-code-but-stripHtml-does%27nt-tp18152625p18153670.html
Sent from the TYPO3 English mailing list archive at Nabble.com.



More information about the TYPO3-english mailing list