diff --git a/src/metadata.rs b/src/metadata.rs index 036f89209..f5a45ef5e 100644 --- a/src/metadata.rs +++ b/src/metadata.rs @@ -163,7 +163,7 @@ impl Metadata21 { let mut fields = vec![ ("Metadata-Version", self.metadata_version.clone()), ("Name", self.name.clone()), - ("Version", self.version.clone()), + ("Version", self.get_version_escaped()), ]; let mut add_vec = |name, values: &[String]| {