def _iterate_over_text(
    tree: Optional["etree.Element"],
    tags_to_ignore: Set[Union[str, "etree.Comment"]],
    stack_limit: int = 1024,
The product does not properly control the amount of recursion which takes place,  consuming excessive resources, such as allocated memory or the program stack.