port babycode transform function

This commit is contained in:
2025-07-01 01:30:51 +03:00
parent a7f9fbfe90
commit c7fb6784c4
2 changed files with 67 additions and 1 deletions

View File

@@ -161,7 +161,7 @@ class Parser:
if len(children) == 0:
children.append(ch)
else:
children[1] = children[1] + ch
children[0] = children[0] + ch
else:
element = self.parse_element(children)