From cdcdef972197c4a2b53cb06850b57f010533ea5c Mon Sep 17 00:00:00 2001 From: philipp Date: Sat, 17 Feb 2024 18:04:51 +0100 Subject: [PATCH] push --- src/paragraph/parser/liste.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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()) } }