--- source: crates/rome_formatter_test/src/snapshot_builder.rs info: test_file: js/multiparser-html/html-template-literals.js --- # Input ```js const nestedFun = /* HTML */ `${outerExpr(1)} `; const nestedFun2 = /* HTML */ `${outerExpr(1)} `; setFoo( html`
one
two
three
`, secondArgument ); setFoo( html`
nested
two
three
`, secondArgument ); setFoo( html`
nested
`, secondArgument ); ``` # Prettier differences ```diff --- Prettier +++ Rome @@ -5,7 +5,7 @@ const nestedFun2 = /* HTML */ `${outerExpr(1)} `; setFoo( ``` # Output ```js const nestedFun = /* HTML */ `${outerExpr(1)} `; const nestedFun2 = /* HTML */ `${outerExpr(1)} `; setFoo( html`
one
two
three
`, secondArgument, ); setFoo( html`
nested
two
three
`, secondArgument, ); setFoo( html`
nested
`, secondArgument, ); ```