mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00
Modules: Adding styling to Recipe description display to keep line breaks
Taken from https://github.com/OrchardCMS/Orchard/pull/7940
This commit is contained in:
parent
ac60046468
commit
a55cb430e2
@ -29,7 +29,7 @@
|
||||
<br />
|
||||
<div>
|
||||
<h4>@recipe.Name - @Html.ActionLink(T("Execute").Text, "Recipes", "Admin", new { area = "Orchard.Modules", moduleId = descriptor.Id, name = recipe.Name }, new { itemprop = "UnsafeUrl" })</h4>
|
||||
<p>@recipe.Description</p>
|
||||
<p style="white-space: pre-line;">@recipe.Description</p>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user