use correct method when adding lines to Preformatted
This commit is contained in:
parent
1c2b200612
commit
a1a764e497
|
@ -228,7 +228,7 @@ class Preformatted(Element, list[str]):
|
|||
self.extend(value.splitlines())
|
||||
return
|
||||
|
||||
self.append(value)
|
||||
self.extend(value)
|
||||
|
||||
|
||||
def build(self) -> str:
|
||||
|
|
Loading…
Reference in a new issue