diff --git a/src/picture.rs b/src/picture.rs
@@ -381,21 +381,21 @@ impl Display for LicenseType {
match self.0 {
CreativeCommons::CC0 => write!(f, "CC0"),
CreativeCommons::CCBY { version, non_commercial, share_alike } => {
- write!(f, "CC-BY-")?;
+ write!(f, "CC-BY")?;
if non_commercial {
- write!(f, "NC-")?;
+ write!(f, "-NC")?;
}
if share_alike {
- write!(f, "SA-")?;
+ write!(f, "-SA")?;
}
- write!(f, "{}", version)
+ write!(f, " {version}")
},
CreativeCommons::CCBYND { version, non_commercial } => {
- write!(f, "CC-BY-")?;
+ write!(f, "CC-BY")?;
if non_commercial {
- write!(f, "NC-")?;
+ write!(f, "-NC")?;
}
- write!(f, "ND-{}", version)
+ write!(f, "-ND {version}")
}
}
}