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.
|Tags||Internet Web Dynamic Content CGI Tools/Libraries Software Development Libraries php classes Text Processing Markup|
|Operating Systems||OS Independent|
Release Notes: This release fixes regression in context-insensitive mode.
Release Notes: A leftover var_dump that caused debug output during normal operation was removed.
Release Notes: 0.3.2 introduced a serious bug that made the class completely useless in case sensitive mode (the default), though case insensitive mode would still work. This release fixes that bug.
Release Notes: 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.
Release Notes: A newly appeared bug in 0.3.0 that broke compatibility with older versions has been fixed.