diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 9f48ec2..3c83af9 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -1137,6 +1137,8 @@ message.content = parse_message_markdown(message.content); message = parse_channels_in_message(message); message = parse_emoji_in_message(message); + message.content = message.content.replace(/<https:\/\/(.*?)>/g, "https://$1"); + message.content = message.content.replace(/<http:\/\/(.*?)>/g, "http://$1"); var username = message.author.username; if (message.author.nickname) { username = message.author.nickname;