Opened 18 years ago
Last modified 17 years ago
#629 confirmed New Feature
Escaping HTML with htmlspecialchars()
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | SF | Cc: |
Description (last modified by )
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 18 years ago by
| Reporter: | changed from Martin Kou to madcrock@… |
|---|
comment:2 Changed 18 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 17 years ago by
| Keywords: | Confirmed added |
|---|
