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

Weird parsing for list of unquoted links #17

Open
EmilyMalkieri opened this issue Nov 30, 2022 · 1 comment · May be fixed by #19
Open

Weird parsing for list of unquoted links #17

EmilyMalkieri opened this issue Nov 30, 2022 · 1 comment · May be fixed by #19
Labels
bug Something isn't working

Comments

@EmilyMalkieri
Copy link

I have this field in my frontmatter:

source:
 - https://stackoverflow.com/questions/641984/mysql-cant-access-root-account
 - https://stackoverflow.com/questions/41984956/cant-reset-root-password-with-skip-grant-tables-on-ubuntu-16

These links aren't recognized as links and are rendered as normal plaintext. As soon as I add a double-quote to the left of "https", all links from that quote onward are recognized, even if I never close the quote and even on later list items.

In this example, both links work even though they're not properly quoted. Adding a closing quote to the end of the first link doesn't change this behavior, both links are clickable.

source:
 - "https://stackoverflow.com/questions/641984/mysql-cant-access-root-account
 - https://stackoverflow.com/questions/41984956/cant-reset-root-password-with-skip-grant-tables-on-ubuntu-16

In this example, only the second link is clickable.

source:
 - https://stackoverflow.com/questions/641984/mysql-cant-access-root-account
 - "https://stackoverflow.com/questions/41984956/cant-reset-root-password-with-skip-grant-tables-on-ubuntu-16
@Trikzon
Copy link
Owner

Trikzon commented Dec 1, 2022

Will investigate next week after finals. Link parsing is surprisingly difficult with many edge cases, but I have no idea why it wouldn't recognize those links

@Trikzon Trikzon added the bug Something isn't working label Dec 1, 2022
@mnaoumov mnaoumov linked a pull request Dec 5, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants