Skip to content

Commit 6981242

Browse files
author
Hai Zheng
committed
v7.7-a7: **Page Optimize** Improved dummy CSS replacement rule.
1 parent dee5d62 commit 6981242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/optimize.cls.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Optimize extends Base {
2020

2121
const ITEM_TIMESTAMP_PURGE_CSS = 'timestamp_purge_css';
2222

23-
const DUMMY_CSS_REGEX = "#<link rel=['\"]stylesheet['\"] id=['\"]litespeed-cache-dummy-css['\"] href=['\"].+assets/css/litespeed-dummy\.css[?\w.=-]*['\"][ \w='\"/]*>#isU";
23+
const DUMMY_CSS_REGEX = "#<link [ \w='\"/]*id=['\"]litespeed-cache-dummy-css['\"] href=['\"].+assets/css/litespeed-dummy\.css[?\w.=-]*['\"][ \w='\"/]*>#isU";
2424

2525
private $content;
2626
private $content_ori;

0 commit comments

Comments
 (0)