PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » HTML_BBCodeParser » Bug #3520

Typo in parser.php example

Details

Submitted2005-02-18 22:02 UTC
Frompear at anthonymclin dot com
StatusDuplicate
PackageHTML_BBCodeParser
PHP Version4.3.10
OSn/a
Roadmaps(Not assigned)

Comments

[2005-02-18 22:02 UTC] pear at anthonymclin dot com

Description:
------------
[url] with target parsing is [url=foo.html t=bar]foobar[/url] but the example parser.php file (the same used on the external site for examples) indicates to use target= instead of t=

Line 68 of parser.php should be changed from
[url=http://www.server.org target=new]server[/url]

to
[url=http://www.server.org t=new]server[/url]

[2005-03-01 09:28 UTC] smith at backendmedia dot com

http://pear.php.net/bugs/bug.php?id=2870