fix
parent
b64f61ba6c
commit
2c28e25481
|
|
@ -88,6 +88,7 @@ class LeFormatter {
|
|||
while (/\(\s*\)|\[\s*\]/.test(input))
|
||||
input = input.replace(/\(\s*\)|\[\s*\]/g, '');
|
||||
|
||||
input = input.replace(/\\\(([^\\\)]+?):([^\\\)]+?)\\\)/g, '\\($1: $2\\)');
|
||||
return input.split(',').map(word => word.trim()).filter(word => word).join(', ');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue