-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
MrkdwnCompiler re-encodes URL #288
Comments
It's a tricky topic. Our position: jsx-slack assumes URL for hyperlink as "not encoded URI string", and finally returns the mrkdwn with encoded URL by using |
@yhatt Thanks first of all for this library. I would have expected The example above has been constructed via the standardized
|
After some thought, I have begun to think keeping URL string is better than implicit encoding. If so, we have to bump a major version to v6 because of a potentially breaking change. @mrcljx The following cases are my updated ideas for escaping URLs in Cases
|
This sounds great, including the implicit |
Awesome! Thanks very much, @yhatt. ❤️ |
The following URL has a query parameter named
x
with the valuey:z
(which must be encoded).Using this in
is encoded as
which is a different link.
The text was updated successfully, but these errors were encountered: