[TYPO3-core] RFC:8574 Do not use htmlspecialchars for CSH description

Christopher Chrissitopher at gmx.de
Sun Jun 1 13:19:37 CEST 2008


Hi Uschi,

+1 on reading. :-)

Christopher


"Uschi Renziehausen" schrieb im Newsbeitrag 
news:mailman.1.1212313580.7657.typo3-team-core at lists.netfielders.de...
> And here comes the patch, sorry :-(
>


--------------------------------------------------------------------------------


> Index: t3lib/class.t3lib_befunc.php
> ===================================================================
> --- t3lib/class.t3lib_befunc.php (revision 3744)
> +++ t3lib/class.t3lib_befunc.php (working copy)
> @@ -2419,7 +2419,7 @@
>  }
>  // add description text
>  if ($data['description'] || $arrow) {
> - $output = '<span 
> class="paragraph">'.nl2br(htmlspecialchars($data['description'])).$arrow.'</span>';
> + $output = '<span 
> class="paragraph">'.nl2br($data['description']).$arrow.'</span>';
>  }
>
>  // put header before the rest of the text
> 




More information about the TYPO3-team-core mailing list