From 9ecd5003b99d0d4bfabb9d9dd9e22a5dd852441d Mon Sep 17 00:00:00 2001
From: Wang Jian <785541602@qq.com>
Date: Fri, 2 Nov 2018 13:46:35 +0800
Subject: [PATCH] Update compile.js
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
fix #1266
增加小程序image,cover-image路径解析支持
---
lib/compile.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/compile.js b/lib/compile.js
index 2363a20f5..bef81c84a 100644
--- a/lib/compile.js
+++ b/lib/compile.js
@@ -408,8 +408,8 @@ function extCss(content, callback, file) {
* 标准化处理 html 内容, 识别各种语法,并将其转换成中间码。
*
* - `` to embed resource content
- * - `` to locate resource
- * - `` to embed resource content
+ * - `` to locate resource
+ * - `` to embed resource content
* - `` to locate js|css resource
* - `` to embed js|css resource
* - `` to analyse as js|css
@@ -420,7 +420,7 @@ function extCss(content, callback, file) {
* @memberOf fis.compile
*/
function extHtml(content, callback, file) {
- var reg = /(