Svelte view engine: backend calls: don't match dots and quotes

This commit is contained in:
Alice Gaudon 2021-05-12 13:57:53 +02:00
parent c60bd442e8
commit 1167e99c30

View File

@ -237,7 +237,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++;
} }