Commit 85642280 by Urvil Shah

Don't Wrap Advertiser Url

parent aa32368d
Pipeline #7265 passed with stages
in 22 minutes 46 seconds
...@@ -158,7 +158,7 @@ namespace Mobile.Search.Web.Controllers ...@@ -158,7 +158,7 @@ namespace Mobile.Search.Web.Controllers
TimeSpan.FromSeconds(1)); TimeSpan.FromSeconds(1));
while (m.Success) while (m.Success)
{ {
if(!m.Value.Contains("WrapUrl")) if(!m.Value.Contains("Wrap"))
{ {
string to_replace = String.Format("{{{{WrapUrl('{0}')}}}}", m.Groups[1]); string to_replace = String.Format("{{{{WrapUrl('{0}')}}}}", m.Groups[1]);
value = value.Replace(m.Groups[1].Value, to_replace); value = value.Replace(m.Groups[1].Value, to_replace);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment