Skip to content

Element.getTextRecursively returns empty string #3668

@mvysny

Description

@mvysny

Calling getTextRecursively() on an Element always returns an empty string. That is to be expected since it uses getChildren() for recursive traversal, however that method only returns Elements, so a Text node is never found and thus no text is discovered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🔎 Investigation

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions