Fixes #863. Stop encoding article summary

pull/926/head
Alper Ebicoglu 6 years ago
parent eac2a360d1
commit 0ad4976361

@ -77,7 +77,7 @@
<a asp-page="./Detail" asp-route-postUrl="@post.Url" asp-route-blogShortName="@Model.BlogShortName">@post.Title</a> <a asp-page="./Detail" asp-route-postUrl="@post.Url" asp-route-blogShortName="@Model.BlogShortName">@post.Title</a>
</h2> </h2>
<p class="article-sum"> <p class="article-sum">
@(GetShortContent(post.Content)) @Html.Raw(GetShortContent(post.Content)))
</p> </p>
<a asp-page="./Detail" asp-route-postUrl="@post.Url" asp-route-blogShortName="@Model.BlogShortName" class="btn btn-primary btn-rounded">@L["ContinueReading"]</a> <a asp-page="./Detail" asp-route-postUrl="@post.Url" asp-route-blogShortName="@Model.BlogShortName" class="btn btn-primary btn-rounded">@L["ContinueReading"]</a>

Loading…
Cancel
Save