-
-
Notifications
You must be signed in to change notification settings - Fork 170
Fix edge cases for relaxed-autolink option #461
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
Conversation
Run on Mon Aug 26 18:55:08 UTC 2024 |
b08a0a8 to
ee23b32
Compare
|
This fails fuzzing. A minimised I assume |
when using the `relaxed-autolinks` option. See #459
ee23b32 to
e982dbd
Compare
|
Thanks @kivikakk, that does seem to be it. I've pushed a change, and am running |
|
LGTM — thanks! |
|
@kivikakk are you up for publishing a new release? |
|
Sure thing; will do so in the next hour or so. |
|
It's on crates.io :). |
|
Thank you! 🙇 |
Handle several edge cases with the
relaxed-autolinksoption when autolinking inside a markdown link. We now detect if it's a single url in a markdown link ([url](url)). We also handle if an autolink does get added to a link by removing the duplicate link when converting to HTML.Related issue: #459