diff --git a/src/rechunk/utils.py b/src/rechunk/utils.py index 18e4570..72204e1 100644 --- a/src/rechunk/utils.py +++ b/src/rechunk/utils.py @@ -208,8 +208,8 @@ def get_labels( value = value.replace(vkey, pkg.version) # OCI spec does not like new lines - value = value.replace('\n', '\\n') - value = value.replace('\r', '\\r') + value = value.replace('\n', '
') + value = value.replace('\r', '') new_labels[key] = value