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

Added stripping of placeholder links #196

Merged

Conversation

jeloagnasin
Copy link
Contributor

@jeloagnasin jeloagnasin commented Nov 24, 2020

I wanted to remove a tags that don't have href but retain the other a tags.

To retain the default behavior, I added strip_placeholder_links which defaults to false.

@colinodell
Copy link
Member

Great idea! Thanks for the contribution.

@colinodell colinodell merged commit c5777c3 into thephpleague:master Mar 28, 2021
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