PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_BBCodeParser » Bug #2035

bbCode non-extensible

Details

Request #2035bbCode non-extensible
Submitted2004-07-31 19:40 UTC
Fromeloi at bygeorgeware dot com
Assignedquipo
StatusClosed
PackageHTML_BBCodeParser
PHP Version4.3.7
OSLinux
Roadmaps(Not assigned)

Comments

[2004-07-31 19:40 UTC] eloi at bygeorgeware dot com

Description:
------------
I needed a way to change the behavior of [quote], but could find no other way than to preg_relace() the parser's output.

There should be a way that the filter definitions can be added or changed in runtime code without actually changing the distributed filter classes.

[2004-10-07 23:29 UTC] dmitriid at d-grup dot com

I would like to request this feature as well.

The idea nehind this request is that you can then build an admin page that would allow you to easily add/remove new tags.

[2005-09-07 17:25 UTC] mike_walsh at mindspring dot com

I too would like to see this. I am surprised this Package doesn't support header tags H1-H6. Adding the extension filter is pretty simple but distributing it is a challenge.

The class is also virtually impossible to extend due to the way the constructor loads the filters. I wanted a simple child class which overloaded the default values but instead had to implement a wrapper around the class - yuch.