From 57c08093d9e3524f03452a68f81ea0c27b129209 Mon Sep 17 00:00:00 2001 From: LarkinKin <913634310@qq.com> Date: Thu, 19 Oct 2017 21:12:22 +0800 Subject: [PATCH 1/2] Update index.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @bugfix 修正v-for template问题 @bugfix 修正template中无法使用单引号的问题 --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 2b92b53..8443ca6 100644 --- a/index.js +++ b/index.js @@ -146,14 +146,14 @@ module.exports = function(options) { treeAdapter.appendChild(docFragment, node); var tpl = parse5.serialize(docFragment); - tpl = tpl.replace('', ''); + tpl = tpl.replace('