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
Some URL-encoded string can't be decoded correctly #918
Comments
Hey @kazup01, I'd love to give this one a go :) |
👍 |
This PR mitigates BoostIO#918 by retroactively replacing link text decoded by mdurl with the original link.
Looks like the artefacts are generated by mdurl's decode function, which is used by linkify-it, which is in turn used by markdown-it to parse links that aren't wrapped in markdown's link syntax. One way we could get around this weird behaviour would be to retroactively fix the links decoded by |
The issue was fixed by #816 |
Thanks for your contribution @aquibm ! |
context
URL including Japanese which is URL-encoded by EUC-JP or Shift-JIS can not be decoded correctly in view mode.
screenshot of Boostnote with developer tool open
https://i.gyazo.com/b3dc7697f51cb2ba8fcebbdeb4022a94.png
environment
expected
I don't want to be automatically decoded.
more example
This behavior corrupts some of existing URLs.
The text was updated successfully, but these errors were encountered: