From 1cc943ddfd3c156feacda3fc78e16dd550753ac3 Mon Sep 17 00:00:00 2001 From: Syed Zabiuddin <32957211+Zabi09@users.noreply.github.com> Date: Fri, 15 May 2020 15:44:38 +0530 Subject: [PATCH] #4452 Added in 1.0.50 --- templates/features.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/features.php b/templates/features.php index 83efa0519..195f85cb2 100644 --- a/templates/features.php +++ b/templates/features.php @@ -7789,7 +7789,7 @@ function ampforwp_short_pixel_cdn($content){ $compress_level = '+q_glossy'; } $compress_level .= '+ret_img+to_webp/'; - $content = preg_replace('//', '', $content); + $content = preg_replace('/]*)>/','',$content); return $content; } if(ampforwp_get_setting('ampforwp_css_tree_shaking') == true && ampforwp_is_gutenberg_active()){