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

View File

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