From 6acdde177fc4d0aa5a885927bff337dea174cabf Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Wed, 19 Jul 2023 12:13:18 +0200 Subject: [PATCH] Revert "[feature] chat component can now show clickable urls" This reverts commit 02cbe6c19b4c4d676094f849cd05a740feb2360a. --- webapp/components/Chat/Chat.vue | 6 ------ 1 file changed, 6 deletions(-) diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index d00133a56..d7864ebef 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -315,12 +315,6 @@ export default { this.messagesLoaded = true } this.messagePage += 1 - - // hacky way to make urls clickable for the chat component - // --> linkify in the backend is changing the syntax of the url - this.messages.forEach((msg) => { - msg.content = msg.content.replace(/<\/?a[^>]*>/g, '') - }) } catch (error) { this.messages = [] this.$toast.error(error.message)