diff --git a/src/paragraph/parser/liste.rs b/src/paragraph/parser/liste.rs index dbee2a6..0d8c7d9 100644 --- a/src/paragraph/parser/liste.rs +++ b/src/paragraph/parser/liste.rs @@ -63,10 +63,6 @@ impl Liste { } pub(crate) fn get_content(&self) -> Content { - if self.content.len() == 1 { - self.content[0].clone() - } else { - Content::List(self.content.clone()) - } + Content::List(self.content.clone()) } }