Skip to content
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

更新 friend-link.tsx 中对友链和图片链接的处理逻辑 #34

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

LeonhardtHUST
Copy link
Contributor

image
现有代码 /src/utils/friend-link.tsx 中 L10, 14 对链接的处理有误:其将源 markdown 文件中提供的链接进行转义,致使请求出错。
链接应当按原样提供,不应被转义。
commit 后经本地测试,该问题消失。

@Lhcfl
Copy link
Owner

Lhcfl commented Jan 9, 2025

Good catch! 确实是这样,链接里不应该出现 HTML 实体

@Lhcfl Lhcfl merged commit 1c4e535 into Lhcfl:master Jan 9, 2025
1 check passed
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.

2 participants