Skip to content

Commit

Permalink
Merge pull request #525 from ferventcoder/split_description_lines
Browse files Browse the repository at this point in the history
Separate Description on Gallery like it was specified in the NuSpec
  • Loading branch information
half-ogre committed Jun 14, 2012
2 parents 953c942 + e367ea0 commit 6c3d481
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Website/Views/Packages/DisplayPackage.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@
<h1>@Model.Title</h1>
<h2>@Model.Version</h2>
</hgroup>
<p>@Model.Description</p>
@foreach (var line in Model.Description.ToStringSafe().Split('\n'))
{
<p>@line</p>
}

@if (!Model.Listed && Model.IsOwner(User))
{
Expand Down

0 comments on commit 6c3d481

Please sign in to comment.