From 3b49aac1b393382c4d1cebd333104d49240be165 Mon Sep 17 00:00:00 2001 From: raizasafeel <89463672+raizasafeel@users.noreply.github.com> Date: Tue, 3 Feb 2026 16:14:58 +0530 Subject: [PATCH] refactor: removed unused functions --- frontend/src/utils/markdownParser.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/frontend/src/utils/markdownParser.js b/frontend/src/utils/markdownParser.js index e11f2a13..1e3cf6dd 100644 --- a/frontend/src/utils/markdownParser.js +++ b/frontend/src/utils/markdownParser.js @@ -421,16 +421,6 @@ export class Markdown { return { alt: '', url: '' } } - _isLink(text) { - return /\[.+?\]\(.+?\)/.test(text) - } - - _extractLink(text) { - const match = text.match(/\[(.+?)\]\((.+?)\)/) - if (match) return { text: match[1], url: match[2] } - return { text: '', url: '' } - } - _isEmbed(text) { return /^https?:\/\/.+/.test(text.trim()) }