Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for text nodes on DocumentFragments without root tags #146

Merged
merged 1 commit into from
Sep 15, 2014

Conversation

Razer6
Copy link
Contributor

@Razer6 Razer6 commented Sep 14, 2014

Hi @jch

I came up with a second solution for fixing #133. It simply tries a second search for text nodes, if the original search doesn't find any node. Since the second search is only invoked, if the first one doesn't find any node, performance should not change much.

@jch
Copy link
Contributor

jch commented Sep 15, 2014

Nice idea! I like the idea of this. I'll look over it more closely when I
get back to a keyboard

On Sunday, September 14, 2014, Robert Schilling [email protected]
wrote:

Hi @jch https://github.com/jch

I came up with a second solution for fixing #133
#133. It simply tries a
second search for text nodes, if the original search doesn't find any node.
Since the second search is only invoked, if the first one doesn't find any

node, performance should not change much.

You can merge this Pull Request by running

git pull https://github.com/Razer6/html-pipeline search_text_nodes

Or view, comment on, or merge it at:

#146
Commit Summary

  • Search for text nodes on DocumentFragments without root tags

File Changes

Patch Links:


Reply to this email directly or view it on GitHub
#146.

Jerry Cheung
GitHub https://github.com/jch

jch added a commit that referenced this pull request Sep 15, 2014
Search for text nodes on DocumentFragments without root tags
@jch jch merged commit 5db22e1 into gjtorikian:master Sep 15, 2014
@jch
Copy link
Contributor

jch commented Sep 15, 2014

🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants