a php class that parses text and converts to html