Skip to content

Commit 0be540c

Browse files
author
wangsai
committed
修改匹配google font 的regex
1 parent 1ddb0ea commit 0be540c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ module.exports = function(grunt) {
262262

263263
//v5
264264
{
265-
match: /<link href='\/\/fonts.googleapis.com\/css\?family=.*' rel='stylesheet' type='text\/css'>/ig,
265+
match: /<link.*fonts.googleapis.com.*>/ig,
266266
replacement: ''
267267
},
268268
{

0 commit comments

Comments
 (0)