Skip to content

[question] loop true all elements and text #63

Description

@Commandcracker

I have a recursive function that goes through all elements from top to bottom, and I want to handle booth "raw" text and tags.

I seam to only be able to get one thing.
"Raw" text by using "textonly" on the html tag, but it returns one long string, so I'm not able to handle tags differently from tags.
(I noticed, that "textonly" is not in the README should it be added ?)
Tags by using the selector "*", but it will ignore all text.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions