diff --git a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml index 0aa90dc5d..8db0baed6 100644 --- a/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml +++ b/src/Orchard.Web/Modules/Orchard.Packaging/Views/Gallery/Modules.cshtml @@ -59,13 +59,7 @@
@(item.Description ?? T("(No description").Text)
+ @{ + var description = item.Description ?? T("(No description").Text; + } +@Html.Raw(Html.Encode(description).Replace("\n", "
"))
+ @if (!string.IsNullOrWhiteSpace(item.GalleryDetailsUrl)) { + @T("more...") + } +
+@(item.Description == null ? T("(No description").Text : item.Description)
+ @{ + var description = item.Description ?? T("(No description").Text; + } +@Html.Raw(Html.Encode(description).Replace("\n", "
"))
+ @if (!string.IsNullOrWhiteSpace(item.GalleryDetailsUrl)) { + @T("more...") + } +