From a2eafbf41ec58b6a76ba0cf8e9277538ae720ea1 Mon Sep 17 00:00:00 2001 From: nmsderp <130254323+nmsderp@users.noreply.github.com> Date: Sun, 3 Mar 2024 15:03:20 -0500 Subject: [PATCH] i hope this fixes it --- src/components/tw-description/description.jsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/components/tw-description/description.jsx b/src/components/tw-description/description.jsx index 9b1044a62f8..5feac24a241 100644 --- a/src/components/tw-description/description.jsx +++ b/src/components/tw-description/description.jsx @@ -45,13 +45,8 @@ const decorate = text => { // Replace text surrounded by colons with markdown image syntax newText = reactStringReplace(newText, /:(.*?):/g, (match, i) => ( - {match} - )); + `![](${'https://snail-ide-object-libraries.vercel.app/files/emojis/' + match}.png)` +)); return newText; };