-
Notifications
You must be signed in to change notification settings - Fork 9k
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
There is a problem with clicking on the answer link in markdown format #12954
Comments
I found a similar closed issue regarding problems with clicking on markdown links in the Dify application. The suggested solution was to check the In your case, it seems that the issue might be related to the non-standard link format you are using, which calls a local application. The Dify application might have security measures or restrictions that convert such links to To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
This is not a bug, currently we do not support deep link because we intend to be a web application, it not a client application. You can checkout the implementation of our Link componenent. dify/web/app/components/base/markdown.tsx Lines 214 to 225 in b8ba39d
|
@crazywoola It doesn't matter whether it's a client or a web application. All I want is to be able to jump normally according to the set link. If you have DingTalk installed on your computer, click the link below. |
Well, it seems not clickable on my phone. |
This is the problem. What I need is to be able to jump to such a link. This link will call up the corresponding client, whether it is a mobile phone or a PC. You can try to access this link with a browser: |
I opened this issue link on my phone, it won't render as as link component instead it's plain text. |
All we want is for the links in the markdown format to jump normally regardless of the format. Let's see how to modify the source code ourselves. |
Self Checks
Dify version
0.15.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
I checked the prompt log and the markdown link returned is in the correct format, but it does not jump normally when clicked. When I put the mouse over it, the link displayed is: javascript:void(0)
My link format is not the usual http or https, it will call my local DingTalk client and jump to the corresponding page. This format can also jump normally when accessed in a standard MD client (such as Typora). Is there a limit on the link format here? If it does not meet the format, it will become javascript:void(0), which limits many jump functions and possibilities.
This BUG is very important, please do not mark it invalid or simply close it
❌ Actual Behavior
I checked the prompt log and the markdown link returned is in the correct format, but it does not jump normally when clicked. When I put the mouse over it, the link displayed is: javascript:void(0)
The text was updated successfully, but these errors were encountered: