Skip to content

fix(editor): recognize autolinks with port numbers - #703

Merged
murongg merged 1 commit into
v2from
fix/issue-702-url-port-autolink
Aug 29, 2026
Merged

fix(editor): recognize autolinks with port numbers#703
murongg merged 1 commit into
v2from
fix/issue-702-url-port-autolink

Conversation

@murongg

@murongg murongg commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • bump @lezer/markdown from 1.6.3 to 1.6.4 so GFM autolinks include port numbers and following paths
  • add regression coverage for the reported loopback URL with a port

Why

@lezer/markdown 1.6.3 stops the URL syntax node before :8080, so live preview only styles and opens the host portion. Version 1.6.4 includes the upstream port-number autolink fix.

Validation

  • pnpm install --frozen-lockfile --offline passed
  • pnpm --filter @markra/editor test — 39 test files and 523 tests passed
  • pnpm --filter @markra/editor build passed
  • git diff --check passed

Risk

  • low: this is a patch-level parser dependency update with focused regression coverage
  • Markdown source content and explicit link handling are unchanged

Closes #702

@vercel

vercel Bot commented Aug 29, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markra-web Ready Ready Preview Aug 29, 2026 2:08am

@murongg
murongg merged commit 8a9c7fb into v2 Aug 29, 2026
23 checks passed
@murongg
murongg deleted the fix/issue-702-url-port-autolink branch August 29, 2026 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: URL识别带端口号的不正确

1 participant