1 (edited by dened 2010-03-27 15:08)

Topic: Bug in the parser

I wonder why that line of code is here (include/parser.php, line 55)?

$text = str_replace('*'."\0".']', '*]', $text);

Because of it the parser unexpectedly converts this text:

*[_code]first[/_code]]second

to this:

*]second[_code]first[/_code]

test:
*]second

first

Re: Bug in the parser

Thanks for reporting, fixed.

3

Re: Bug in the parser

Thanks for fixing. smile