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

Trim the text before any computation #7

Open
stanguturi opened this issue Jan 8, 2012 · 0 comments
Open

Trim the text before any computation #7

stanguturi opened this issue Jan 8, 2012 · 0 comments

Comments

@stanguturi
Copy link

I like this plugin. We use this in my web application: http://o.pckg.in/deals-crawler. But the plugin just doesn't work if the text contains any extra whitespace. In HTML it is always possible to have some extra text between the elements. You should modify the plugin to execute $.trim() before doing any regex matching.

-Thanks
Sankar.

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

No branches or pull requests

1 participant