add global attribute setting for line ending