diff --git a/lib/Rocket/Async/CSS/Integration/EssentialGrid.php b/lib/Rocket/Async/CSS/Integration/EssentialGrid.php index 936385e..4c43167 100644 --- a/lib/Rocket/Async/CSS/Integration/EssentialGrid.php +++ b/lib/Rocket/Async/CSS/Integration/EssentialGrid.php @@ -69,6 +69,7 @@ public function block_image( $value ) { if ( $this->in_essentialgrid ) { if ( false === strpos( $value, 'no-lazyload' ) ) { $value = str_replace( 'class="', 'class="no-lazyload ', $value ); + $value = str_replace( "class='", "class='no-lazyload ", $value ); } } return $value;