mirror of
https://github.com/Mintplex-Labs/anythingllm-embed.git
synced 2026-07-21 00:15:26 -04:00
[PR #6] [MERGED] Force links to open in new tab #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Mintplex-Labs/anythingllm-embed/pull/6
Author: @shatfield4
Created: 4/22/2025
Status: ✅ Merged
Merged: 4/27/2025
Merged by: @timothycarambat
Base:
main← Head:3685-feat-add-configurable-link-target-on-open-setting-in-embed-to-override-default-link-targets📝 Commits (4)
979aa1aforce links to open in new tab560d4f9refactor opening links in new tabfe6a782match master implementationb5b170fremove unused import📊 Changes
3 files changed (+16 additions, -3 deletions)
View changed files
📝
src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx(+1 -3)📝
src/utils/chat/markdown.js(+7 -0)➕
src/utils/chat/purify.js(+8 -0)📄 Description
renderMarkdownutil to handle linksDOMPurifytopurify.jsutilResolves https://github.com/Mintplex-Labs/anything-llm/issues/3685
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.