diff --git a/assets/js/script.js b/assets/js/script.js
index 060b265..ee52269 100644
--- a/assets/js/script.js
+++ b/assets/js/script.js
@@ -206,7 +206,7 @@ window.onload = () => {
if (opts.inlineBlock) txt = txt.replace(/\`([^\`]+?)\`|\`\`([^\`]+?)\`\`|\`\`\`((?:\n|.)+?)\`\`\`/g, (m, x, y, z) => x ? `${x}
` : y ? `${y}
` : z ? `${z}
` : m);
else txt = txt.replace(/\`\`\`(\w{1,15})?\n((?:\n|.)+?)\`\`\`|\`\`(.+?)\`\`(?!\`)|\`([^\`]+?)\`/g, (m, w, x, y, z) => w && x ? `
${x.trim()}
` : x ? `${x.trim()}
` : y || z ? `${y || z}
` : m);
if (opts.inEmbed) txt = txt.replace(/\[([^\[\]]+)\]\((.+?)\)/g, `$1`);
- if (opts.replaceEmojis) txt = txt.replace(/(?[^>]+)(? x && emojis[x] ? emojis[x] : match);
+ if (opts.replaceEmojis) txt = txt.replace(/(?:!code(?: \w+=".+")?>[^>]+)(?:!\/[^\s"]+?):((?!\/)\w+):/g, (match, x) => x && emojis[x] ? emojis[x] : match);
txt = txt
.replace(/> .+(?:\s> .+)*\n?/g, match => `${match.replace(/> /g, '')}