1
0

Improved editor features for gallery and projects

This commit is contained in:
Michael Gordeev
2020-04-28 12:33:42 +03:00
parent e77332a6f1
commit 6b628c5906
2 changed files with 2 additions and 2 deletions
@@ -25,7 +25,7 @@
<h1>@Model.Current?.Title</h1>
<span>@Localizer["Creation date"]: @Model.Current?.CreationDate.ToShortDateString()</span>
<p>
@Html.Raw(Model.Current?.Description)
@Html.Raw(Model.Current?.Description?.Replace("\n", "<br />"))
</p>
</div>
</article>
@@ -20,7 +20,7 @@
<div>
<h1>@project.Title</h1>
<p>
@Html.Raw(project.Description)
@Html.Raw(project.Description?.Replace("\n", "<br />"))
</p>
<a href="@(project.Link)" target="_blank">@project.LinkCaption</a>
</div>