Opened 18 years ago
Last modified 17 years ago
#629 confirmed New Feature
Escaping HTML with htmlspecialchars() — at Initial Version
| Reported by: | Martin Kou | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | SF | Cc: |
Description
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
