-
Notifications
You must be signed in to change notification settings - Fork 135
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
Add option to discard links #21
Comments
Can you not sanitise your input with just replacing e.g. $html = preg_replace('/href="[^"]+"/im', "", $html); |
I solved it using some other lib that was a better fit for my particul needs. Thank you. |
This has been implemented as part of PR #65, thank you for the suggestion and your patience! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using your lib to extract text from html pages to be used as search data. The links, especially the urls are not useful. Can you add an option to discard them?
Thanks a lot!
The text was updated successfully, but these errors were encountered: