Skip Menu |

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

Report information
The Basics
Id: 33496
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 with long link
With long link, also output is pre-quoted when it should not be, example: $ perl test.pl 'http://ru.wikipedia.org/wiki/%D0%93%D1%80%D0%B5%D0%B1%D0%B5%D0%BD%D1%87%D0%B0%D1%82%D1%8B%D0%B9_%D1%82%D1%80%D0%B8%D1%82%D0%BE%D0%BD' <a href="http://ru.wikipedia.org/wiki/%D0%93%D1%80%D0%B5%D0%B1%D0%B5%D0%BD%D1%87%D0%B0%D1%82%D1%8B%D0%B9_%D1%82%D1%80%D0%B8%D1%82%D0%BE%D0%BD">example</a> $ 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