fixing BBcode codeblocks output