minor syntax error

This commit is contained in:
Michael 2017-04-16 21:44:42 -04:00
parent ebc74ab7e7
commit c018558559

View file

@ -103,7 +103,7 @@ public static string ResolveUserLinksInMarkdown(string mkdn)
var user = db.Users.FirstOrDefault(x => x.DisplayName == uname);
if(user != null)
{
mkdn = mkdn.Replace(word, $"[{word}(/Profiles/ViewProfile/{uname})");
mkdn = mkdn.Replace(word, $"[{word}](/Profiles/ViewProfile/{uname})");
}
}
}