From a469ba400072766fdabb677bab208a4889ed20f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Fri, 30 Dec 2016 12:27:50 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Allow=20=E3=81=AA=E3=81=A7=E3=81=AA?= =?UTF-8?q?=E3=81=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/common/scripts/text-compiler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/app/common/scripts/text-compiler.js b/src/web/app/common/scripts/text-compiler.js index 41f496668..e08ef7441 100644 --- a/src/web/app/common/scripts/text-compiler.js +++ b/src/web/app/common/scripts/text-compiler.js @@ -34,7 +34,8 @@ module.exports = function(tokens, canBreak, escape) { }).join(''); if (me && me.data && me.data.nya) { - text = text.replace(/な/g, 'にゃ'); + text = text.replace(/な/g, 'にゃ') + .replace(/にゃでにゃで/g, 'なでなで'); } return text;