-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
MD051 fails with cjk characters #954
Comments
Can you please paste some example characters here in this issue? |
(The "Copy link" link at the bottom of that demo page will create a sample directly from your demo.) |
# 标题
[标题](#标题) |
Looks related: #955 |
Please see my comments in issue #955 for an explanation. As in that case, using the URI-encoded form for the link works fine: I would not expect this to have worked in a previous version, but the intent was always to require the use of the GitHub canonical version as is currently being done and observed in the demo page. |
You're right that this was not reported in |
I hope you can have an option for this because many editors like vscode, And a lot of markdown renderers like markdown-it, do not requird users to.encode anchor hash. I would be disappointing If I can only disable this rule, Instead of having their non-url-encoded version being checked. |
@DavidAnson I know this issue is already “Closed” and I’m probably missing something here but,
both the URI-encoded and the non-URI-encoded form works there. One of them would generate an error in the CLI for example.
True. But as already mentioned, URI-encoding is not required in many tools. Both encoded and non-encoded should be allowed. Besides, URI-encoding makes the (raw) Markdown looks hideous. I hope there’s a way to make it work like your demo site above. |
I changed the behavior of this library to allow both kinds in v0.31.0 and that's what you can see in the demo page now. This version of the library is not yet part of a release of CLI or CLI2, so you will not see the change if using either. A new release for both should be forthcoming. |
Awesome! Thanks for the heads-up. |
We also got hit by this. Is it the same issue? Heading: ### 设置HTTP重定向 Link: [HTTP 重定向](#设置http重定向) It worked in 0.29.0, fails in 0.30.0. |
This issue seems to start with 0.30.0
The text was updated successfully, but these errors were encountered: