Add NSAttributedString support at formatBlock callback