Re: can BBCode_Parser validate?
| From: | Seth Price | Date: | Sat, 22 Oct 2005 19:45:29 +0000 |
| Subject: | Re: can BBCode_Parser validate? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21603@lists.php.net to get a copy of this message | ||
Ah, sorry I didn't notice your email on the list earlier. I have a so-far-unofficial version of BBCodeParser written that allows you to specify whether to abort, ignore, or correct on BBCode errors. It also guarantees XHTML 1.1 output. Tell me what you think of the code:
http://pricepages.org/bbcode/BBCodeParser.zip
~Seth
On Oct 13, 2005, at 10:05 AM, Guy Brom wrote:
Is it possible to automatically fix broken BBCode using BBCode_Parser? I'm trying to validate an incoming bbcode field (i.e. - "hello [b]world[/u]" =to_become=> "hello [b]world[/b]"). Thanks! --PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php