Permalink
Browse files

Merge pull request #525 from ferventcoder/split_description_lines

Separate Description on Gallery like it was specified in the NuSpec
  • Loading branch information...
2 parents 953c942 + e367ea0 commit 6c3d481c706f1cd662e349bf65a87f2f1d359dda @half-ogre half-ogre committed Jun 14, 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.ToStringSafe().Split('\n'))
+ {
+ <p>@line</p>
+ }
@if (!Model.Listed && Model.IsOwner(User))
{

0 comments on commit 6c3d481

Please sign in to comment.