Opened 17 years ago

Last modified 16 years ago

#629 confirmed New Feature

Escaping HTML with htmlspecialchars()

Reported by: madcrock@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc:

Description (last modified by Martin Kou)

It would be more like feature request:

It would be useful to add possiblity to turn off escaping HTML in function CreateHtml(), because user may pass already escaped html.

Simple solution:

var $EscapeHTML = true;

<...>

function CreateHtml()
{
$HtmlValue = $this->EscapeHTML ? htmlspecialchars(
$this->Value ) : $this->Value ;
<...>

Best regards, Laurynas


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1174671&group_id=75348&atid=543656

Change History (3)

comment:1 Changed 17 years ago by Martin Kou

Reporter: changed from Martin Kou to madcrock@…

comment:2 Changed 17 years ago by Martin Kou

Description: modified (diff)

comment:3 Changed 16 years ago by Artur Formella

Keywords: Confirmed added
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy