@@ -6,7 +6,7 @@ describe('ssr: v-show', () => {
6
6
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
7
7
8
8
return function ssrRender(_ctx, _push, _parent) {
9
- _push(\`<div\ ${_ssrRenderStyle((_ctx.foo) ? null : { display: \\"none\\" })}></div>\`)
9
+ _push(\`<div style=\\"\ ${_ssrRenderStyle((_ctx.foo) ? null : { display: \\"none\\" })}\\" ></div>\`)
10
10
}"
11
11
` )
12
12
} )
@@ -19,10 +19,10 @@ describe('ssr: v-show', () => {
19
19
const _hoisted_1 = {\\"color\\":\\"red\\"}
20
20
21
21
return function ssrRender(_ctx, _push, _parent) {
22
- _push(\`<div\${_ssrRenderStyle([
22
+ _push(\`<div style=\\" \${_ssrRenderStyle([
23
23
_hoisted_1,
24
24
(_ctx.foo) ? null : { display: \\"none\\" }
25
- ])}></div>\`)
25
+ ])}\\" ></div>\`)
26
26
}"
27
27
` )
28
28
} )
@@ -33,10 +33,10 @@ describe('ssr: v-show', () => {
33
33
"const { ssrRenderStyle: _ssrRenderStyle } = require(\\"@vue/server-renderer\\")
34
34
35
35
return function ssrRender(_ctx, _push, _parent) {
36
- _push(\`<div\${_ssrRenderStyle([
36
+ _push(\`<div style=\\" \${_ssrRenderStyle([
37
37
{ color: 'red' },
38
38
(_ctx.foo) ? null : { display: \\"none\\" }
39
- ])}></div>\`)
39
+ ])}\\" ></div>\`)
40
40
}"
41
41
` )
42
42
} )
@@ -51,11 +51,11 @@ describe('ssr: v-show', () => {
51
51
const _hoisted_1 = {\\"color\\":\\"red\\"}
52
52
53
53
return function ssrRender(_ctx, _push, _parent) {
54
- _push(\`<div\${_ssrRenderStyle([
54
+ _push(\`<div style=\\" \${_ssrRenderStyle([
55
55
_hoisted_1,
56
56
{ fontSize: 14 },
57
57
(_ctx.foo) ? null : { display: \\"none\\" }
58
- ])}></div>\`)
58
+ ])}\\" ></div>\`)
59
59
}"
60
60
` )
61
61
} )
0 commit comments