From 16359226bece1dbef26f5959b43935983a9a1b6f Mon Sep 17 00:00:00 2001 From: janmonteros Date: Mon, 24 Aug 2020 17:50:09 +0800 Subject: [PATCH] magento/adobe-stock-integration#1504: [2.1-develop] Insert rendition images to the content from media gallery instead of original images - adjustments for regex on wysiwyg with static urls --- MediaGalleryRenditions/etc/media_content.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaGalleryRenditions/etc/media_content.xml b/MediaGalleryRenditions/etc/media_content.xml index 567a68915d36..edf43cb555e5 100644 --- a/MediaGalleryRenditions/etc/media_content.xml +++ b/MediaGalleryRenditions/etc/media_content.xml @@ -9,7 +9,7 @@ /{{media url="(?:.renditions)*(.*?)"?}}/ - /src=".*\/media\/(?:\/.renditions)*(.*?)"/ + /src=".*\/media\/(?:.renditions\/)*(.*?)"/ /\/?media\/(?:.renditions\/)*(.*)/ /\/pub\/?media\/(?:.renditions\/)*(.*)/