-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Return brackets in autolinks behavior back to cmark-gfm #386
Conversation
// Allow any number of matching parentheses (as recognised in copen/cclose) | ||
// at the end of the URL. If there is a greater number of closing | ||
// parentheses than opening ones, we remove one character from the end of | ||
// the link. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hope it was ok to add this from the original C code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the author of the original text, I deem it so 🙏
Run on Sun Apr 28 18:12:31 UTC 2024 |
@kivikakk wdyt? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you — perfect!
// Allow any number of matching parentheses (as recognised in copen/cclose) | ||
// at the end of the URL. If there is a greater number of closing | ||
// parentheses than opening ones, we remove one character from the end of | ||
// the link. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As the author of the original text, I deem it so 🙏
When `relaxed-autolinks` is specified, allow only balanced brackets/curly braces in autolink.
d6da25a
to
a842fe9
Compare
@kivikakk would it be possible to get a new release cut? |
It's on the way! :) |
Done. |
👍 🙇 🙏 |
Return brackets in autolinks behavior back to what is found in
cmark-gfm
When
relaxed-autolinks
is specified, also allow balanced brackets/curly braces in autolink, in addition to the standard parentheses. This also helps with detection of autolinks in[[...]]
Related to #382