Skip Menu |

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

Maintainer(s)' notes

If you have any wishes, feel free to create a ticket.

Plans:

I would like to add callbacks to the parser so that you can gather some information about specific tags and ideally can manipulate them during parsing.

But there are already enough informations to create a download link for code tags, for example. See example/code_download.pl.

Parse::BBCode is now hosted on github, so for bug reports also check https://github.com/perlpunk/Parse-BBCode

Report information
The Basics
Id: 43845
Status: resolved
Priority: 0/
Queue: Parse-BBCode

People
Owner: Nobody in particular
Requestors: redneb [...] gmx.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.07
Fixed in: 0.08



Subject: Second url is not rendered correctly
Date: Wed, 4 Mar 2009 13:22:11 -0500
To: bug-Parse-BBCode [...] rt.cpan.org
From: redneb <redneb [...] gmx.com>
Consider the following string: $s='[url]x.org[/url][url]x.org[/url]'; Then $bb->render($s) produces the following output: <a href="x.org" rel="nofollow">x.org</a>[url]x.org[/url] i.e. the second url is not being parsed at all.
On Mi. 04. Mär. 2009, 13:29:55, redneb@gmx.com wrote: Show quoted text
> i.e. the second url is not being parsed at all.
thanks, yes, I already fixed that a few days ago, and yesterday i uploaded version 0.08. regards, tina
Subject: [rt.cpan.org #43845] Second url is not rendered correctly
Date: Mon, 9 Mar 2009 14:46:42 -0400
To: Tina Muller via RT <bug-Parse-BBCode [...] rt.cpan.org>
From: redneb <redneb [...] gmx.com>
Thanks! Now I can use this module. BTW In a couple of places in the documentation you have Parse::BBCode->new( instead of Parse::BBCode->new({ which is the correct (for example in Parse::BBCode::HTML). Also, how about the following idea: whenever an escape function, say for example the link escape, returns the empty string or undef, then the entire bbcode tag should be left unparsed instead of producing code like <a href="">blah blah</a> On Mon, Mar 09, 2009 at 08:42:21AM -0400, Tina Muller via RT wrote: Show quoted text
><URL: https://rt.cpan.org/Ticket/Display.html?id=43845 > > >On Mi. 04. Mär. 2009, 13:29:55, redneb@gmx.com wrote: >
>> i.e. the second url is not being parsed at all.
> > >thanks, yes, I already fixed that a few days ago, and yesterday i >uploaded version 0.08. > >regards, >tina
On Mo. 09. Mär. 2009, 14:47:22, redneb@gmx.com wrote: Show quoted text
> BTW In a couple of places in the documentation you have > Parse::BBCode->new( > instead of > Parse::BBCode->new({ > which is the correct (for example in Parse::BBCode::HTML).
thanks, fixed in 0.09 Show quoted text
> Also, how about the following idea: whenever an escape function, say
for Show quoted text
> example the link escape, returns the empty string or undef, then the > entire bbcode tag should be left unparsed instead of producing code
like Show quoted text
> <a href="">blah blah</a> > >
ok, now the tag is left unparsed when the escaping function returns undef.