This commit is contained in:
@ -63,6 +63,10 @@ impl Liste {
|
||||
}
|
||||
|
||||
pub(crate) fn get_content(&self) -> Content {
|
||||
Content::List(self.content.clone())
|
||||
if self.content.len() == 1 {
|
||||
self.content[0].clone()
|
||||
} else {
|
||||
Content::List(self.content.clone())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user