mod-build 3.7.10-beta.2 → 3.7.10-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gulp-tasks/templates.js +1 -2
- package/package.json +1 -1
package/gulp-tasks/templates.js
CHANGED
|
@@ -372,8 +372,7 @@ module.exports = function(gulp, gulpPlugins, siteSettings, siteData) {
|
|
|
372
372
|
const displayNameResponseJson = JSON.parse(displayNameResponse);
|
|
373
373
|
brandedDisplayName = displayNameResponseJson.data[vendorPublicIdentifier];
|
|
374
374
|
consentCaptureObject.brandedConsentCapture.tcpaStart = responseJson.brandedConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`);
|
|
375
|
-
consentCaptureObject.brandedIncludeServiceConsentCapture.tcpaStart = responseJson.brandedIncludeServiceConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`);
|
|
376
|
-
consentCaptureObject.brandedIncludeServiceConsentCapture.tcpaStart = responseJson.brandedIncludeServiceConsentCapture.tcpaStart.replace(/<span data-service><\/span>/g, `<span data-service>${service}</span>`);
|
|
375
|
+
consentCaptureObject.brandedIncludeServiceConsentCapture.tcpaStart = responseJson.brandedIncludeServiceConsentCapture.tcpaStart.replace(/<span data-branded-consent><\/span>/g, `<span data-branded-consent>${brandedDisplayName}</span>`).replace(/<span data-service><\/span>/g, `<span data-service>${service}</span>`);
|
|
377
376
|
}
|
|
378
377
|
}
|
|
379
378
|
|