Edit report at https://pear.php.net/bugs/bug.php?id=12002&edit=1
ID: 12002
Updated by: daniel.oconnor@gmail.com
Reported By: simon dot westwood at timico dot co dot uk
Summary: Target set in [url] doesn't work
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: HTML_BBCodeParser
Operating System: N/A
Package Version: 1.2.2
PHP Version: Irrelevant
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.
If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).
If this was a problem with the pear.php.net website, the change should
be live shortly.
Otherwise, the fix will appear in the package's next release.
Thank you for the report and for helping us make PEAR better.
Previous Comments:
------------------------------------------------------------------------
[2007-09-07 06:46:33] simonwestwood
Description:
------------
The target parameter is ignored by the links filter in the default
install of the package. This can be resolved by adding the following
entry to the attributes array in filter/links.php
't' => 'target=%2$s%1$s%2$s'
Without this change the examples file is inaccurate
Test script:
---------------
[url=http://www.server.org t=_blank]server[/url]
Expected result:
----------------
<a href='http://www.server.org' target='_blank'>server</a>
Actual result:
--------------
<a href='http://www.server.org'>server</a>
------------------------------------------------------------------------