[TYPO3-dev] Removing strip_tags dangerous?

Georg Ringer mail-spam at ringerge.org
Fri Oct 19 10:03:41 CEST 2007


Hello,

for my current extension project I would like to have html-tags inside 
the alt/title tag of an image. These are removed in 
class.tslib_content.php > function getAltParam().

----
$altParam = ' alt="'.htmlspecialchars(strip_tags($altText)).'"';
----

Is it dangerous to remove the strip_tags function?

thanks a lot
Georg




More information about the TYPO3-dev mailing list