Skip to content

Commit 63d96ca

Browse files
chore: simpler check first
Co-authored-by: Ben McCann <[email protected]>
1 parent 72244cd commit 63d96ca

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/3-transform/client/visitors/shared

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/shared/fragment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function process_children(nodes, initial, is_element, { visit, state }) {
8484
state.update.push(update);
8585
} else {
8686
// if the expression is inlinable we just push it to the template
87-
if (is_inlinable_expression(sequence, state.scope) && !is_text) {
87+
if (!is_text && is_inlinable_expression(sequence, state.scope)) {
8888
escape_template_quasis(value);
8989
state.template.push(value);
9090
} else {

0 commit comments

Comments
 (0)