fis-kernel
Advanced tools
Comparing version 1.9.7 to 1.9.8
@@ -206,3 +206,3 @@ /* | ||
function extHtml(content, callback){ | ||
var reg = /(<script(?:(?=\s)[\s\S]*?["'\s\w\/\-]>|>))([\s\S]*?)(?=<\/script\s*>|$)|(<style(?:(?=\s)[\s\S]*?["'\s\w\/\-]>|>))([\s\S]*?)(?=<\/style\s*>|$)|<(img|embed|audio|video|link|object)\s+[\s\S]*?["'\s\w\/\-](?:>|$)|<!--inline\[([^\]]+)\]-->|<!--(?!\[)([\s\S]*?)(-->|$)/ig; | ||
var reg = /(<script(?:(?=\s)[\s\S]*?["'\s\w\/\-]>|>))([\s\S]*?)(?=<\/script\s*>|$)|(<style(?:(?=\s)[\s\S]*?["'\s\w\/\-]>|>))([\s\S]*?)(?=<\/style\s*>|$)|<(img|embed|audio|video|link|object|source)\s+[\s\S]*?["'\s\w\/\-](?:>|$)|<!--inline\[([^\]]+)\]-->|<!--(?!\[)([\s\S]*?)(-->|$)/ig; | ||
callback = callback || function(m, $1, $2, $3, $4, $5, $6, $7, $8){ | ||
@@ -231,3 +231,3 @@ if($1){//<script> | ||
m = $3 + extCss($4); | ||
} else if($5){//<img|embed|audio|video|link|object> | ||
} else if($5){//<img|embed|audio|video|link|object|source> | ||
var tag = $5.toLowerCase(); | ||
@@ -322,3 +322,3 @@ if(tag === 'link'){ | ||
fis.log.debug('pipe [' + key + '] fail'); | ||
var msg = key + ': ' + String(e.message || e.msg || e).trim() + ' [' + file.subpath; | ||
var msg = key + ': ' + String(e.message || e.msg || e).trim() + ' [' + (e.filename || file.realpath); | ||
if(e.hasOwnProperty('line')){ | ||
@@ -325,0 +325,0 @@ msg += ':' + e.line; |
{ | ||
"name" : "fis-kernel", | ||
"description" : "fis kernel.", | ||
"version" : "1.9.7", | ||
"version" : "1.9.8", | ||
"author" : "FIS Team <fis@baidu.com>", | ||
@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75435