Commit aa32368d by Urvil Shah

Add the guard.

parent 65445ce5
Pipeline #7264 passed with stages
in 22 minutes 32 seconds
......@@ -158,9 +158,13 @@ namespace Mobile.Search.Web.Controllers
TimeSpan.FromSeconds(1));
while (m.Success)
{
if(!m.Value.Contains("WrapUrl"))
{
string to_replace = String.Format("{{{{WrapUrl('{0}')}}}}", m.Groups[1]);
value = value.Replace(m.Groups[1].Value, to_replace);
}
m = m.NextMatch();
}
var d = new Dictionary<string, object>
{
......
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