Re: I am interested in taking over HTML_BBCodeParser

From: Date: Fri, 20 Jan 2006 03:12:15 +0000
Subject: Re: I am interested in taking over HTML_BBCodeParser
References: 1 2 3 4 5 6  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-3395@lists.php.net to get a copy of this message
(Oops, just realized that I didn't copy the list on this last email, apologies.) I've put a bit of effort into keeping as much BC as I can. With a default install, the most likely (and serious) problem will be HTML chars being escaped twice (which really isn't that serious). Once in their code, once by default in HTML_BBCodeParser. There is an option to turn that off in BBCodeParser, or they can remove the extra htmlspecialchars() from their code. The other BC breaks are mostly harmless. Like list numbering not being supported. And the new filter format is similar enough that it (mostly) works with old code. The only things that don't work in old filters are the validation rules, they are simply ignored and replaced with defaults. The package that I posted on my site doesn't have the Extended filter (I replaced it with TextInline and TextBlock filters), but I can easily put that back in for BC reasons. In short, I'm not convinced that a separate v2 package is needed. To me it seems like unnecessary clutter of the PEAR space. If you still want to make a separate package, then I would like to take a look at new features that require a larger BC break. ~Seth On Jan 19, 2006, at 4:03 PM, Arnaud Limbourg wrote:
If it does break BC then HTML_BBCodeParser2 can indeed be added with the warning on pearweb that version 1 is deprecated in favor of v2. Sounds like the best course of action. Arnaud. Justin Patrin wrote:
On 1/19/06, Joe Stump <joe@joestump.net> wrote:
Is there any reason that Seth couldn't have HTML_BBCodeParser rely on Text_Wiki and use that for 90% of the functionality and then build his validation/repair stuff on top of that?
It *should* be possible, but it would require lots of re-working of code since the designs of the 2 packages is very different. If he has made HTML_BBCodeParser better, I say let him put this code into PEAR HTML_BBCodeParser2 (since it breaks some BC).


« previous php.pear.qa (#3395) next »