Update nya converter

This commit is contained in:
Aya Morisawa 2016-12-31 22:50:39 +09:00
parent 878ef684b9
commit 872739f807

View file

@ -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;