From 9b06522c668ff8d2c27367529553eab6bded2021 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 18 May 2017 21:25:20 -0400 Subject: feedback --- Project-Unite/ACL.cs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Project-Unite/ACL.cs') diff --git a/Project-Unite/ACL.cs b/Project-Unite/ACL.cs index 74ac07e..d589fc3 100644 --- a/Project-Unite/ACL.cs +++ b/Project-Unite/ACL.cs @@ -44,6 +44,15 @@ namespace Project_Unite return hpr.Raw(" Our newest user, " + user.DisplayName + ""); } + internal static string MarkdownRaw(string md) + { + if (md == null) + return ""; + md = ResolveUserLinksInMarkdown(md); + return CommonMark.CommonMarkConverter.Convert(md); + + } + public static IHtmlString GetLatestUnread(this HtmlHelper hpr, string userName) { var db = new ApplicationDbContext(); -- cgit v1.2.3