Fixed bbcode parsing