Skip to content

Commit d63d3aa

Browse files
committed
Trims description before checking for null/empty to decide whether to display
1 parent f2e620f commit d63d3aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DigitalLearningSolutions.Web/Views/Frameworks/Developer/FrameworkPrintLayout.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<h1>
2929
@Model.DetailFramework.FrameworkName
3030
</h1>
31-
@if (!String.IsNullOrEmpty(Model.DetailFramework.Description))
31+
@if (!String.IsNullOrEmpty(Model.DetailFramework.Description.Trim()))
3232
{
3333
<div class="nhsuk-card">
3434
<div class="nhsuk-card__content">

0 commit comments

Comments
 (0)