Add markdown rendering of company description.

This commit is contained in:
2018-04-20 08:08:40 +01:00
parent a96c093757
commit 5aa17517d8
3 changed files with 11 additions and 5 deletions

View File

@@ -33,6 +33,7 @@
}
@using System.IO
@using Cicm.Database.Schemas
@using Markdig
@model CompanyWithItems
@if(Model != null)
@@ -431,7 +432,7 @@
@if(Model.Description != null)
{
<div class="row container-fluid">
@Model.Description
@Html.Raw(Model.Description)
</div>
}
</div>