Skip to content

Commit 094c64e

Browse files
committed
linkify fix: link color and text-decoration
1 parent b2aa224 commit 094c64e

File tree

1 file changed

+1
-1
lines changed
  • frontend-next-migration/src/shared/ui/v2/Chatbot/utils

1 file changed

+1
-1
lines changed

frontend-next-migration/src/shared/ui/v2/Chatbot/utils/linkify.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export function linkify(text: string): string {
2929
const hrefRaw = url.startsWith('www.') ? `https://${url}` : url;
3030
const href = encodeURI(hrefRaw).replace(/"/g, '"');
3131

32-
return `<a href="${href}" target="_blank" rel="noopener noreferrer" style="color:#121212; text-decoration:underline;">${url}</a>${escapeHtml(trailing)}`;
32+
return `<a href="${href}" target="_blank" rel="noopener noreferrer" style="color:#ffa100; text-decoration:none;">${url}</a>${escapeHtml(trailing)}`;
3333
});
3434
}

0 commit comments

Comments
 (0)