ashi009 / ashi009/node-fast-html-parser
Issues with parsing rawText
- Dominant language
- JavaScript
- Stars
- 166
- Forks
- 150
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.