diff --git a/webapp/components/Chat/Chat.vue b/webapp/components/Chat/Chat.vue index d7864ebef..d00133a56 100644 --- a/webapp/components/Chat/Chat.vue +++ b/webapp/components/Chat/Chat.vue @@ -315,6 +315,12 @@ 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)