HTML_BBCodeParser issue with PEPr
| From: | Tobias Schlitt | Date: | Wed, 17 Dec 2003 13:17:59 +0000 |
| Subject: | HTML_BBCodeParser issue with PEPr | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-24504@lists.php.net to get a copy of this message | ||
Hi!
I think this is rather a propblem of HTML_BBCodeParser than of PEPr.
PEPr uses the following code snippet to parse a piece of text:
<snip>
$bbparser = new HTML_BBCodeParser( array('filters' =>
'Basic,Images,Links,Lists') );
$bb->fullRow($bbparser->qparse(nl2br($proposal->pkg_describtion)));
</snip>
You can see this here:
http://preview.pear.php.net/package-proposal-show.php?id=8
Start of the package describtion there is a link (not included by the
bbcode tags for urls) which is generated to the following HTML:
<snip>
Creates FOAF files (see: <a>http://www.foaf-project.org).<br></a> />
<br />
</snip>
Can anyone check this?
Regards,
Toby
a passion for php http://www.schlitt.info