From 685aeff5ef5552413caf4f9fc7b9e3a77d04c9e4 Mon Sep 17 00:00:00 2001 From: Heiner Lohaus Date: Tue, 2 Jan 2024 01:03:39 +0100 Subject: [PATCH] Fix markdown replace --- g4f/gui/client/js/chat.v1.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/g4f/gui/client/js/chat.v1.js b/g4f/gui/client/js/chat.v1.js index 638ce0ac..a335a3cc 100644 --- a/g4f/gui/client/js/chat.v1.js +++ b/g4f/gui/client/js/chat.v1.js @@ -20,7 +20,9 @@ message_input.addEventListener("focus", () => { }); const markdown_render = (content) => { - return markdown.render(content).replace("', '') + return markdown.render(content) + .replaceAll("', '') } const delete_conversations = async () => {