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 incorrect link replacements #1016

Merged
merged 2 commits into from
Jun 26, 2023
Merged

Fix incorrect link replacements #1016

merged 2 commits into from
Jun 26, 2023

Conversation

andregoetz
Copy link
Contributor

Fixes two issues with link replacements:

  1. Links being replaced when the alternative is an empty string/disabled. This happens when there is a card e.g. a youtube-preview or the result is just the domain e.g. "www.wikipedia.org"

  2. "medium.com" links are always replaced with "farside.link/scribe" ignoring the value from the environment variable

…bled (set to empty string)

Signed-off-by: andregoetz <andregoetz@proton.me>
Signed-off-by: andregoetz <andregoetz@proton.me>
@benbusby benbusby merged commit 2999298 into benbusby:main Jun 26, 2023
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