You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
The issue you're experiencing seems to be related to the link parsing functionality in the lobe-chat codebase. The link parsing is implemented in the src/components/mdx/Link.tsx file, where it uses a regular expression to determine if a link is external. This might be causing the problem where non-link text is being incorrectly parsed as part of the link [1].
To address this, you might want to review the regular expression used for link detection and ensure it accurately distinguishes between actual links and surrounding text. Adjusting the regex or adding additional logic to handle edge cases could help resolve the issue.
📦 Environment
Docker
📌 Version
v1.37.1
💻 Operating System
Windows
🌐 Browser
Chrome
🐛 Bug Description
如图,链接后面不属于链接的部分也被一并解析为链接
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: