HtmLawed.php
htmLawed.php with htmLawed as OOP class – Filter/sanitize HTML text.
Use: $out = htmLawed($in, $config, $spec); see htmLawed_README.
Code overview in htmLawed_README §5.6. Familiarity with HTML standards and documentation on htmLawed configuration required to understand code.
A PHP Labware internal utility - bioinformatics.org/phplabware.