mirror of
https://github.com/langgenius/dify.git
synced 2026-06-26 23:01:11 +08:00
## Summary When mailto: links are rendered in chat responses, clicking them does not open the email client because the Link component adds target="_blank" to all valid URLs including mailto: links. With target="_blank", browsers attempt to open a new tab for mailto: links, which results in a blank tab or nothing happening instead of launching the default email client. ## Changes Added a check for mailto: links before the default target="_blank" rendering. mailto: links are now rendered as plain <a> tags without target="_blank", allowing the browser to properly handle the mailto: protocol and open the user's default email client. Related: #12954 #16243 |
||
|---|---|---|
| .. | ||
| (commonLayout) | ||
| (humanInputLayout)/form/[token] | ||
| (shareLayout) | ||
| account | ||
| activate | ||
| components | ||
| education-apply | ||
| forgot-password | ||
| init | ||
| install | ||
| oauth-callback | ||
| repos/[owner]/[repo]/releases | ||
| reset-password | ||
| serwist/[path] | ||
| signin | ||
| signup | ||
| styles | ||
| layout.tsx | ||
| page.tsx | ||
| routePrefixHandle.tsx | ||
| sw.ts | ||