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

Fix empty href links. #3

Closed
wants to merge 1 commit into from

Conversation

n3vu0r
Copy link

@n3vu0r n3vu0r commented Dec 22, 2020

Fixes #2. I think testing for p4 first is wrong, since an empty href is valid for the current page. This PR tests for p6 first and allows empty p4 matches for links. For images with empty p4, p1 is returned.

@n3vu0r n3vu0r closed this Apr 10, 2022
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.

Link without href renders as undefined string
1 participant