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