Improved editor features for gallery and projects
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user