Subject: | [list][*] and a following ( produce wrong html |
The following bbcode wont work:
[list]
[*]Test 1
[*]Test 2 (hint)
[*]Test 3
[/list]
This will produce:
<ul>
<li>Test 1</li>
<li>Test 2</li>
</ul>
(hint)<br />
<li>Test 3</li>
</ul>
I think the problem is the second ( in following regexp (perhaps by
accident):
$content =~ s|\[\*\]([^(\[]+)|_list_removelastbr($1)|egs;
from sub _list