| @@ -65,14 +65,8 @@ | ||
| 65 | 65 | $this->content=str_replace($replString,$exclString,$this->content); |
| 66 | 66 | } |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - // revslider data attribs somehow suffer from HTML optimization, this fixes that | |
| 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 | - } | |
| 74 | - | |
| 75 | 69 | return true; |
| 76 | 70 | } |
| 77 | 71 | |
| 78 | 72 | // Didn't minify :( |