
Backend/Func/CleanHTMLforWML.pm - Clean for WAP Frontend
This function is the WAP version of CleanHTML.pm. Given a string of text, it replaces special HTML characters with WAP-friendly ones, making sure that user input is not interpreted as WML tags.
my $wml = $self->CleanHTMLforWML($html_string);
Example
my $cont = "<b>Bold <i>Italic <u>Underlined</u></i></b>";
$ret .= $self->CleanHTMLforWML($cont);
|