Set self_close to false when adding a children to a node.