Added newline and sup callbacks for html