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

test: fail when interpreting md footnote as link #1479

Merged
merged 2 commits into from
Aug 11, 2024

Conversation

mre
Copy link
Member

@mre mre commented Aug 6, 2024

WIP for #1409.

Accidentally closed #1410 by rebasing on top of master, then pushing mid-rebase and don't have permissions to push there. 😅 So reopening here.

@jan-ferdinand fyi

The underlying issue is still not fixed. Just rebased.
@thomas-zahner let me know if you're still looking into this one.

@mre
Copy link
Member Author

mre commented Aug 6, 2024

@thomas-zahner, what do you think? I followed your advice and parsed the plaintext if link_type isn't LinkedType::Inline. Turned out nicely. Did I miss anything?

@mre mre merged commit 138cd4d into master Aug 11, 2024
7 checks passed
@mre mre deleted the fail-when-interpreting-md-footnote-as-link branch August 11, 2024 10:51
@mre
Copy link
Member Author

mre commented Aug 11, 2024

I went ahead and merged this. The tests pass and the changes just extended the existing logic. If we find a bug with it, we can easily fix it in-place.

@thomas-zahner
Copy link
Member

Ah that looks good, thanks for the implementation 👍

@github-actions github-actions bot mentioned this pull request Oct 6, 2024
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