[bug][flags] fix queerowy&a&e&u
This commit is contained in:
parent
9d97cbbcac
commit
da1fd91a00
|
@ -417,7 +417,7 @@ export class Pronoun {
|
||||||
}
|
}
|
||||||
|
|
||||||
format(str) {
|
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() {
|
toArray() {
|
||||||
|
|
Reference in New Issue