Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Accounting for possible null values

  • Loading branch information...
commit e367ea0988971ff080dbaa91220c4518fedcb82b 1 parent a81dcc0
@ferventcoder ferventcoder authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Website/Views/Packages/DisplayPackage.cshtml
View
2  Website/Views/Packages/DisplayPackage.cshtml
@@ -66,7 +66,7 @@
<h1>@Model.Title</h1>
<h2>@Model.Version</h2>
</hgroup>
- @foreach (var line in Model.Description.Split('\n'))
+ @foreach (var line in Model.Description.ToStringSafe().Split('\n'))
{
<p>@line</p>
}
Please sign in to comment.
Something went wrong with that request. Please try again.