do a concatenation instead of first child
This commit is contained in:
parent
9f6c26637a
commit
d2f3e6bb59
@ -206,7 +206,7 @@ class Markdown(Component):
|
|||||||
if tag != "codeblock"
|
if tag != "codeblock"
|
||||||
else ternary_operation(
|
else ternary_operation(
|
||||||
ARRAY_ISARRAY.call(_CHILDREN), # type: ignore
|
ARRAY_ISARRAY.call(_CHILDREN), # type: ignore
|
||||||
_CHILDREN.to(list)[0],
|
_CHILDREN.to(list).join(""),
|
||||||
_CHILDREN,
|
_CHILDREN,
|
||||||
).to(str)
|
).to(str)
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user