Skip to content

Commit

Permalink
Display each line of the Description in the nuspec on its own line li…
Browse files Browse the repository at this point in the history
…ke release notes do.
  • Loading branch information
ferventcoder committed Jun 13, 2012
1 parent 953c942 commit a81dcc0
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.Split('\n'))
{
<p>@line</p>
}

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

0 comments on commit a81dcc0

Please sign in to comment.