added comment
This commit is contained in:
parent
d2f3e6bb59
commit
f3040ab1b6
@ -204,9 +204,10 @@ class Markdown(Component):
|
||||
children = [
|
||||
_CHILDREN
|
||||
if tag != "codeblock"
|
||||
# For codeblock, the mapping for some cases returns an array of elements. Let's join them into a string.
|
||||
else ternary_operation(
|
||||
ARRAY_ISARRAY.call(_CHILDREN), # type: ignore
|
||||
_CHILDREN.to(list).join(""),
|
||||
_CHILDREN.to(list).join("\n"),
|
||||
_CHILDREN,
|
||||
).to(str)
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user