Skip to content

Commit 687e96f

Browse files
committed
fix: improve tokens separator
1 parent 1a6cf5e commit 687e96f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/model.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class Model {
8181
ast.value = value;
8282

8383
if (sec === 'r' || sec === 'p') {
84-
const tokens = value.split(', ');
84+
const tokens = value.split(',').map(n => n.trim());
8585

8686
for (let i = 0; i < tokens.length; i++) {
8787
tokens[i] = key + '_' + tokens[i];

0 commit comments

Comments
 (0)