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 #6913

links are converted wrong

Details

Submitted2006-02-23 19:33 UTC
Fromflorian dot hufsky at gmail dot com
StatusBogus
PackageHTML_BBCodeParser
PHP Version5.1.2
OSWindows
Roadmaps(Not assigned)

Comments

[2006-02-23 19:33 UTC] florian dot hufsky at gmail dot com

Description:
------------
-- Input:

bla

http://bla.com

bla

-- Output:

bla<br />
<br />
<a href='http://bla.com<br'>http://bla.com<br</a> />
<br />
bla

-- Settings:
array('quotestyle' => 'single',
'quotewhat' => 'all',
'open' =>'[',
'close' => ']',
'xmlclose' => true,
'filters' => 'Basic,Extended,Links,Images,Lists,Email')

[2006-02-23 19:44 UTC] florian dot hufsky at gmail dot com

never use nl2br before parsing. do it afterwards.