diff --git a/html/src/app.js b/html/src/app.js index f79930f9..5b3702c3 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -18516,7 +18516,7 @@ speechSynthesis.getVoices(); $app.methods.replaceBioSymbols = function (text) { if (!text) { - return void 0; + return ''; } var symbolList = { '@': '@', @@ -18556,6 +18556,9 @@ speechSynthesis.getVoices(); }; $app.methods.removeEmojis = function (text) { + if (!text) { + return ''; + } return text .replace( /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g,