svelte backend calls: stop matching on ','

This commit is contained in:
Alice Gaudon 2021-05-31 15:34:37 +02:00
parent 4d2dda3615
commit 2da637f51d
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ export default class SvelteViewEngine extends ViewEngine {
break;
}
}
if ([' ', '\n', '<', '.', '\'', '"', '?'].indexOf(output[endIndex]) >= 0 && struct === 0) break;
if ([' ', '\n', '<', '.', '\'', '"', '?', ','].indexOf(output[endIndex]) >= 0 && struct === 0) break;
endIndex++;
}