summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Project-Unite/ACL.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Project-Unite/ACL.cs b/Project-Unite/ACL.cs
index eb8cf72..6764a20 100644
--- a/Project-Unite/ACL.cs
+++ b/Project-Unite/ACL.cs
@@ -121,6 +121,8 @@ namespace Project_Unite
public static IHtmlString Markdown(this HtmlHelper hpr, string md)
{
+ if (md == null)
+ return hpr.Raw("");
md = ResolveUserLinksInMarkdown(md);
return hpr.Raw(CommonMark.CommonMarkConverter.Convert(hpr.Encode(md)));
}