lime icon

Phosphorus and Lime

A Developer's Broadsheet

This blog has been deprecated. Please visit my new blog at klenwell.com/press.
PHP: HTML Validator Class
This class was developed as part of the form library of the CEO framework I'm working on. Useful for the case where you have a textarea in your form and want to allow HTML but make sure it's not broken (especially if you're planning to display it on a page).

Class and test can be found in the repository:

html_validator.class.php
unit.html_validator.php

Based on the script found here with a couple bells and whistles added.

Labels:

the links wont work :D
Sorry. I branched the repository. I've updated the links so they now point to the right place.