mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 05:33:08 +02:00
commit
506b1646e8
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue