Permalink
Browse files

Display each line of the Description in the nuspec on its own line li…

…ke release notes do.
  • Loading branch information...
1 parent 953c942 commit a81dcc0e06bd54f2af724005d2002b166bdcebee @ferventcoder ferventcoder committed Jun 13, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 Website/Views/Packages/DisplayPackage.cshtml
@@ -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))
{

0 comments on commit a81dcc0

Please sign in to comment.