LJ::strip_bad_code

LJ::strip_bad_code — Removes malicious/annoying HTML.

Use

LJ::strip_bad_code(textref);

Arguments

  • textref. Scalar reference to text to be cleaned.

Info

This is just a wrapper function around LJ::CleanHTML::clean.

Source:

cgi-bin/cleanhtml.pl

Returns:

Nothing.