Skip to content

Commit 041c17a

Browse files
committed
remove empty delimiters
1 parent d0e7bdf commit 041c17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/create-instance/create-render-slot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function createVNodes (
1010
slotValue: Component | string
1111
): ?Array<VNode> {
1212
if (typeof slotValue === 'string') {
13-
const compiledResult = compileToFunctions(`<div>${slotValue}{{ }}</div>`)
13+
const compiledResult = compileToFunctions(`<div>${slotValue}</div>`)
1414
const _staticRenderFns = vm._renderProxy.$options.staticRenderFns
1515
vm._renderProxy.$options.staticRenderFns = compiledResult.staticRenderFns
1616
const vnodes = compiledResult.render.call(

0 commit comments

Comments
 (0)