We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 448cff1 commit 747d24aCopy full SHA for 747d24a
packages/svelte/src/compiler/phases/3-transform/client/transform-template/to-functions.js
@@ -49,7 +49,7 @@ function build(item) {
49
const children = item.children.map(build);
50
element.properties.push(b.prop('init', b.id('c'), b.array(children)));
51
52
- // special case — strip leading newline from `<pre>` and `<textarea>`
+ // special case — strip leading newline from `<pre>` and `<textarea>`
53
if (item.name === 'pre' || item.name === 'textarea') {
54
const first = children[0];
55
if (first?.type === 'Literal') {
0 commit comments