Skip to content

Issues with parsing rawText #17

Description

@shaunsational

I'm having an issue while loading external content. I have gotten everything to work fine when loading a single dom node, but when loading a list of nodes I'm having issues. I'm trying to create an object of text after scraping the html that has been loaded.

  • If I break the loop by just returning, it returns the rawText fine
  • If I do NOT use rawText and allow the loop to proceed it works (but I have HTMLElement, childNodes, TextNode, rawText and all the rest of the attribute stuff)
  • If I append ".rawText" to that previous selector within the loop that I know works, I get an error that null is not an object.

I am using this inside of a react native project, if that's any concern.

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