mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-22 08:59:22 +01:00
Fix: Allow なでなで
This commit is contained in:
parent
f844a47f1d
commit
a469ba4000
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue