Skip Menu |

This queue is for tickets about the HTML-BBCode CPAN distribution.

Report information
The Basics
Id: 33495
Status: resolved
Priority: 0/
Queue: HTML-BBCode

People
Owner: blom [...] cpan.org
Requestors: eugenek [...] 45-98.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.02
Fixed in: 2.03



Subject: wrong [url] processing
When a link inside [ur] has ftp schema, parser returns quoted output. With http schema, all ok. See: $ perl test.pl http://www.example.com/ <a href="http://www.example.com/">example</a> $ perl test.pl ftp://www.example.com/ &lt;a href=&quot;ftp://www.example.com/&quot;&gt;example&lt;/a&gt; $ cat test.pl #!/usr/bin/perl use strict; use HTML::BBCode; my $body = '[url=' . $ARGV[ 0 ] . ']example[/url]'; my $bbc = HTML::BBCode -> new(); my $parsed = $bbc -> parse( $body ); print $parsed , "\n"; $
Fixed in version 2.03 (which has been uploaded to CPAN a minute ago). For the impatient people, feel free to download it here: http://menno.b10m.net/perl/dists/HTML-BBCode-2.03.tar.gz -- B10m
(Finally) fixed. Version 2.04 is being uploaded to CPAN now. For the impatient: http://menno.b10m.net/perl/dists/HTML-BBCode-2.04.tar.gz -- B10m