From 872739f807500aa7341239bd6a065fb027c3cf8d Mon Sep 17 00:00:00 2001
From: Aya Morisawa <AyaMorisawa4869@gmail.com>
Date: Sat, 31 Dec 2016 22:50:39 +0900
Subject: [PATCH] Update nya converter

---
 src/web/app/common/scripts/text-compiler.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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;