
Backend/Func/CleanForText.pm - Remove special chars from string
This function converts bbCodes in the given string to text-compatible output, and cleans HTML.
my $text = $self->CleanForText($html_string [, $fid ]);
Example
my $cont = "[b]Bold [i]Italic [u]Underlined[/u][/i][/b]";
$ret .= $self->CleanForText($cont);
|