Skip to content
Snippets Groups Projects
Commit 872739f8 authored by Aya Morisawa's avatar Aya Morisawa
Browse files

Update nya converter

parent 878ef684
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment