Changed bbcode parser and add urlize_text function