markdown-link-check icon indicating copy to clipboard operation
markdown-link-check copied to clipboard

markdown-link-check v3.12.2 can't support chinese header and v3.11.2 can works well

Open wuwentao opened this issue 1 year ago • 1 comments

the same .md file, we use old v3.11.2 can pass. as we encounter #336 issue, so just upgrade to current latest version v3.12.2, it can't works for unicode chinese header URL. rollback to v3.11.2, and port the changes in #336 fix solution, it works well now. just report bug for our future fix and solution, thanks for this useful tool.

wuwentao avatar Jun 14 '24 07:06 wuwentao

This was fixed by b2beaa0 (https://github.com/tcort/markdown-link-check/pull/328).

$ printf '[标题](#标题)\n\n## 标题\n' > /tmp/foo.md

$ npx github:tcort/markdown-link-check#3c31a25 /tmp/foo.md  # Last bad commit.

FILE: C:/Users/per/AppData/Local/Temp/foo.md
  [✖] #%E6%A0%87%E9%A2%98

  1 links checked.

  ERROR: 1 dead links found!
  [✖] #%E6%A0%87%E9%A2%98 → Status: 404

$ npx github:tcort/markdown-link-check#b2beaa0 /tmp/foo.md  # First good commit.

FILE: C:/Users/per/AppData/Local/Temp/foo.md
  [✓] #%E6%A0%87%E9%A2%98

  1 links checked.

per1234 avatar Apr 09 '25 08:04 per1234

This issue has been marked as stale because it has been open 60 days with no activity. It will be closed in 30 days unless the stale label is removed or someone adds a comment.

github-actions[bot] avatar Jun 08 '25 08:06 github-actions[bot]

This issue was closed because it has been marked as stale for 30 days with no activity.

github-actions[bot] avatar Jul 08 '25 08:07 github-actions[bot]