fix markdown preview

pull/83/head
Aevann 2023-01-01 10:43:54 +02:00
parent b34b654175
commit f0971f3a98
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ function markdown(t) {
for(i = 0; i < emojis.length; i++){
const old = emojis[i][0];
if (old.includes('marseyrandom')) continue
const emoji = old.replace(/[:!@#]/g,'').toLowerCase();
let emoji = old.replace(/[:!@#]/g,'').toLowerCase();
const mirroredClass = old.indexOf('!') == -1 ? '' : 'mirrored';
const emojiClass = old.indexOf('#') == -1 ? 'emoji' : 'emoji-lg';
if (emoji.endsWith('pat') && emoji != 'marseyunpettablepat') {