For Programmers: Free Programming Magazines  


Home > Archive > PHP PEAR Questions and Answers > October 2005 > Re: cvs: pear /HTML_BBCodeParser BBCodeParser.php /HTML_BBCodeParser/BBCodeParser/Fi









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: cvs: pear /HTML_BBCodeParser BBCodeParser.php /HTML_BBCodeParser/BBCodeParser/Fi
Lorenzo Alberton

2005-10-14, 6:56 pm

Hi guys,

I have an old patch that I once submitted to Stijn
but never heard back from him.

It basically adds these methods:

- addFilter()
- removeFilter()
- addFilters()
- setOption()

they allow dynamically loading/unloading of filters
and options (ATM you can only set them in the constructor).
The addFilters() method accepts a CSV string list or an array.

The patch (that also includes a few CS issues)
is available for review here:

http://www.archaeogate.org/tmp/pear...arser.patch.txt

Can I commit it?

Best regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo



Arnaud Limbourg wrote:
> arnaud Fri Oct 14 03:05:49 2005 EDT
>
> Modified files:
> /pear/HTML_BBCodeParser BBCodeParser.php
> /pear/HTML_BBCodeParser/BBCodeParser/Filter Basic.php Extended.php
> Images.php Links.php
> Lists.php
> Log:
> commit a series of patches by Seth Price
> produces XHTML 1.1
> most of the bugs listed are fixed
> It can clean up some fairly painful BBCode

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com