do a concatenation instead of first child

This commit is contained in:
Elijah 2024-10-18 14:29:11 +00:00
parent 9f6c26637a
commit d2f3e6bb59

View File

@ -206,7 +206,7 @@ class Markdown(Component):
if tag != "codeblock"
else ternary_operation(
ARRAY_ISARRAY.call(_CHILDREN), # type: ignore
_CHILDREN.to(list)[0],
_CHILDREN.to(list).join(""),
_CHILDREN,
).to(str)
]