support line breaks in poem summaries

This commit is contained in:
Hamid Reza Mohammadi 2024-02-15 17:47:31 +03:30
parent 18cc5b4be5
commit 5b8dbaae16

View File

@ -521,7 +521,7 @@
<div class="notice" id="summary">
<div class="century">خلاصه</div>
<p>
@Model.GanjoorPage.Poem.PoemSummary
@Html.Raw(Model.GanjoorPage.Poem.PoemSummary.Replace("\n", "<br />"))
</p>
@if (Model.LoggedIn)
{