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: Paste with a URL not Working Consistently #1158

Merged
merged 2 commits into from
Sep 1, 2024

Conversation

pjkaufman
Copy link
Collaborator

Fixes #1145

There was an issue with pasted text for list items and URLs not consistently being recognized as URLs. The problem seems to have been that we were looking for a URL anywhere in the pasted text. I looked into whether or not that was necessary for Auto Title Link and Paste URL into Selection, but neither of them seems to allow an https or file link just anywhere (I could have misread it though). This means that we should also be doing a similar check that the whole pasted logic is a URL before deciding to skip it.

Changes Made:

  • Updated comments and swapped to check that the entirety of the pasted text is a URL before skipping it

@pjkaufman pjkaufman marked this pull request as ready for review September 1, 2024 22:44
@pjkaufman pjkaufman merged commit 0b8bc06 into platers:master Sep 1, 2024
1 check passed
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.

Bug: Some strings are only processed on alternate pastes
1 participant