diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js index 62636939b..f6c531c6c 100644 --- a/src/web/app/common/scripts/text-compiler.js +++ b/src/web/app/common/scripts/text-compiler.js @@ -35,7 +35,9 @@ module.exports = function(tokens, shouldBreak, escape) { if (me && me.data && me.data.nya) { text = text.replace(/な/g, 'にゃ') - .replace(/にゃでにゃで/g, 'なでなで'); + .replace(/ニャ/g, 'にゃ') + .replace(/にゃでにゃで/g, 'なでなで') + .replace(/ニャデニャデ/g, 'ナデナデ'); } return text;