StringParser_BBCode 0.3.2 (Default branch) |
|
|
StringParser_BBCode is a PHP class that parses
BBCodes with a real parser and not just regular
expressions. This ensures that the HTML elements
are correctly nested. It does not define any
special codes, but allows the programmer to do so
herself. It provides many features, such as the
automatic detection and handling of paragraphs and
the ability to apply different so-called parser
functions to different portions of the text that
is to be parsed.
License: MIT/X Consortium License
Changes:
Two bugs have been fixed, the first concerning incorrect behaviour in case insensitive mode, and the second causing [list][*][*][/list] to misbehave. The license was changed to the liberal MIT license. The example code inside the documentation was updated in order to make sure it prevents XSS attacks if people copy it instead of modifying it according to the advice given in the documentation.
|