
Backend/Func/CleanTextBox.pm - Remove special chars
This function replaces special characters with textbox-friendly ones, ensuring that HTML and other special code is displayed inside a text box, rather than causing HTML spillage.
my $string = $self->CleanTextBox($string);
Example
my $cont = $self->_param('cont');
$ret .= qq~<input type=text value="~ . $self->CleanTextBox($cont) . qq~" />~;
|