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

Prevent extra link wrapping #46

Merged
merged 1 commit into from
Dec 2, 2022
Merged

Prevent extra link wrapping #46

merged 1 commit into from
Dec 2, 2022

Conversation

tlylt
Copy link
Contributor

@tlylt tlylt commented Dec 2, 2022

Fixes #45

  • if img is wrapped by a link, return the constructed imgElement without link wrapping
  • add test

@crookedneighbor crookedneighbor merged commit cc0449f into crookedneighbor:master Dec 2, 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.

unwanted link created even if the image is already wrapped by a link
2 participants