diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index b17b76b..3362379 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -777,7 +777,7 @@ text = text.replace(/__(.*?)__/g, "$1"); text = text.replace(/_(.*?)_/g, "$1"); text = text.replace(/~~(.*?)~~/g, "$1"); - text = text.replace(/\`\`\`([^]+)\`\`\`/g, "$1"); + text = text.replace(/\`\`\`([^]+?)\`\`\`/g, "$1"); text = text.replace(/\`(.*?)\`/g, "$1"); if (links) { for (var i = 0; i < links.length; i++) {