[bug][flags] fix queerowy&a&e&u

This commit is contained in:
Andrea 2022-05-20 13:58:24 +02:00
parent 9d97cbbcac
commit da1fd91a00
1 changed files with 1 additions and 1 deletions

View File

@ -417,7 +417,7 @@ export class Pronoun {
}
format(str) {
return str.replace(/{[^}]+}/g, m => this.morphemes[m.substring(1, m.length - 1)] || '');
return str.replace(/{[^}]+}/g, m => (this.morphemes[m.substring(1, m.length - 1)] || '').split('&')[0]);
}
toArray() {