harvard-lts / fits

File Information Tool Set
http://fitstool.org
GNU Lesser General Public License v2.1
91 stars 46 forks source link

fix truncated space in 4cc #347

Closed pwinckles closed 1 year ago

pwinckles commented 1 year ago

Resolves Issue: LIBDRS-6162

What does this Pull Request do?

This is a partial fix for the issue where trailing spaces in 4cc elements were being trimmed. FITS will now preserve those spaces in every element except for within the MODS codecIdentifier. If we want to preserve the whitespace there as well, then we'll need to update OTS too.

Interested parties

@awoods

pwinckles commented 1 year ago

Closing this for now. Different approach in the works