A.12. HTML

A.12.1. HTML_BBCodeParser

Repository: PEAR - License: PHP License - By Stijn de Reede (lead)

This is a parser to replace UBB style tags with their html equivalents.

A.12.1.1. Description

This is a parser to replace UBB style tags with their html equivalents. It does not simply do some regex calls, but is complete stack based parse engine. This ensures that all tags are properly nested, if not, extra tags are added to maintain the nesting. This parser should only produce xhtml 1.0 compliant code. All tags are validated and so are all their attributes. It should be easy to extend this parser with your own tags.

A.12.2. HTML_Common

Repository: PEAR - License: PHP License - By Adam Daniel (lead) - Bertrand Mansion (lead)

PEAR::HTML_Common ...

Get PHP 5 Power Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.