Changing from bbcode to markup