mirror of
https://github.com/lempamo/Project-Unite.git
synced 2025-01-22 11:21:47 -05:00
minor syntax error
This commit is contained in:
parent
ebc74ab7e7
commit
c018558559
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ public static string ResolveUserLinksInMarkdown(string mkdn)
|
||||||
var user = db.Users.FirstOrDefault(x => x.DisplayName == uname);
|
var user = db.Users.FirstOrDefault(x => x.DisplayName == uname);
|
||||||
if(user != null)
|
if(user != null)
|
||||||
{
|
{
|
||||||
mkdn = mkdn.Replace(word, $"[{word}(/Profiles/ViewProfile/{uname})");
|
mkdn = mkdn.Replace(word, $"[{word}](/Profiles/ViewProfile/{uname})");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue