From b44db16a79fcf11ee8301660b94c5806851c69cf Mon Sep 17 00:00:00 2001 From: Nishant Kumar Date: Tue, 19 Nov 2024 16:51:26 +0530 Subject: [PATCH] - Updated to latest HTML preview template. - Updated wrap ImageInterstitial content to replace without quotes. --- CleverTapSDK/InApps/CTInAppDisplayManager.m | 2 +- CleverTapSDK/InApps/resources/image_interstitial.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CleverTapSDK/InApps/CTInAppDisplayManager.m b/CleverTapSDK/InApps/CTInAppDisplayManager.m index cf01931f..e81f558d 100644 --- a/CleverTapSDK/InApps/CTInAppDisplayManager.m +++ b/CleverTapSDK/InApps/CTInAppDisplayManager.m @@ -801,7 +801,7 @@ - (NSString *)wrapImageInterstitialContent:(NSString *)content { if (html && content) { NSArray *parts = [html componentsSeparatedByString:CLTAP_INAPP_HTML_SPLIT]; if ([parts count] == 2) { - return [NSString stringWithFormat:@"%@'%@'%@", parts[0], content, parts[1]]; + return [NSString stringWithFormat:@"%@%@%@", parts[0], content, parts[1]]; } } return nil; diff --git a/CleverTapSDK/InApps/resources/image_interstitial.html b/CleverTapSDK/InApps/resources/image_interstitial.html index 34e97a86..bf59a29d 100644 --- a/CleverTapSDK/InApps/resources/image_interstitial.html +++ b/CleverTapSDK/InApps/resources/image_interstitial.html @@ -22,8 +22,7 @@ -