First attempt at generating BBcode