Svelte view engine: backend calls: don't match dots and quotes
This commit is contained in:
parent
c60bd442e8
commit
1167e99c30
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user