This class is meant to process content text with tags like VBcode, BBcode, IBFcode, etc. into HTML.
It can generate a form with textarea field to edit the content text. This textarea may be outputted with buttons buttons that insert the appropriate tags in the textarea to perform text formatting or other functions.
It can restrict the range of supported tags, perform word wrapping, limit the size of images that may be inserted in the content text, configure the output HTML with style sheets.
This class can be used convert BBCode formatted text to HTML.
It can find and replace BBcode tags and replace it by HTML.
The class provides support to some predefined tags but also allows adding new custom tags that can be either single tags or open and close tags that delimit sections.
Generate HTML from text formatted with BBCode tags
This class can be used as a template engine to process text with BBcode tags, similar to those used by PHPBB, and generate HTML output.
It supports the BBcode tags n1, n2, n3, b, u, i, color, font, size, right, left, center, img, url, email, list, and also the tags definicja for definition, uwaga for notes, notatka for footnotes and cytat for quotes.
The comments in the class are in English and Polish.