@@ -66,11 +66,11 @@ |
||
66 | 66 | } |
67 | 67 | } |
68 | 68 | |
69 | - // revslider data attribs somehow suffer from HTML optimization, this fixes that |
|
69 | + // revslider data attribs somehow suffer from HTML optimization, this fixes that |
|
70 | 70 | if ( class_exists('RevSlider') || apply_filters('autoptimize_filter_html_dataattrib_cleanup', false) ) { |
71 | - $this->content = preg_replace('#\n(data-.*$)\n#Um',' $1 ', $this->content); |
|
72 | - $this->content = preg_replace('#(=\"[^"]*\")(\w)#','$1 $2', $this->content); |
|
73 | - } |
|
71 | + $this->content = preg_replace('#\n(data-.*$)\n#Um',' $1 ', $this->content); |
|
72 | + $this->content = preg_replace('#(=\"[^"]*\")(\w)#','$1 $2', $this->content); |
|
73 | + } |
|
74 | 74 | |
75 | 75 | return true; |
76 | 76 | } |