mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 00:29:22 +09:00
Update nya converter
This commit is contained in:
parent
878ef684b9
commit
872739f807
@ -35,7 +35,9 @@ module.exports = function(tokens, shouldBreak, escape) {
|
|||||||
|
|
||||||
if (me && me.data && me.data.nya) {
|
if (me && me.data && me.data.nya) {
|
||||||
text = text.replace(/な/g, 'にゃ')
|
text = text.replace(/な/g, 'にゃ')
|
||||||
.replace(/にゃでにゃで/g, 'なでなで');
|
.replace(/ニャ/g, 'にゃ')
|
||||||
|
.replace(/にゃでにゃで/g, 'なでなで')
|
||||||
|
.replace(/ニャデニャデ/g, 'ナデナデ');
|
||||||
}
|
}
|
||||||
|
|
||||||
return text;
|
return text;
|
||||||
|
Loading…
Reference in New Issue
Block a user