File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
DigitalLearningSolutions.Web/Views/LearningPortal/SelfAssessments Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11@inject IConfiguration Configuration
22@using DigitalLearningSolutions .Data .Extensions
3+ @using DigitalLearningSolutions .Web .Helpers
34@using DigitalLearningSolutions .Web .ViewModels .LearningPortal .SelfAssessments
45@using Microsoft .Extensions .Configuration
56@model SelfAssessmentOverviewViewModel
113114 </summary >
114115 <div class =" nhsuk-details__text" >
115116 <partial name =" SelfAssessments/_CompetencySummary" view-data =" @competencySummariesEnumerator.Current" />
116- @if (! String .IsNullOrEmpty (groupDetails .CompetencyGroupDescription ))
117+ @if (! String .IsNullOrEmpty (StringHelper . StripHtmlTags ( groupDetails .CompetencyGroupDescription ) ))
117118 {
118119 <p class =" nhsuk-body-l nhsuk-u-margin-left-7" >@Html.Raw(groupDetails.CompetencyGroupDescription) </p >
119120 }
You can’t perform that action at this time.
0 commit comments