I have a list that contains a multiline column with column called description that is using Enhanced Rich Text. I have a Content Search Web part set to search the list and return the Title and the Description. The description is coming back in plain text. I have tried the following code but I think I'm missing something.
var contentBody = $getItemValue(ctx, "Body"); <div class="burke-contentPageContainer" id="_#= containerId =#_" data-displaytemplate="ItemGenericContent"> <div class="burke-contentPageDataContainer" id="_#= dataContainerId =#_"> <h1 id="_#= titleId =#_"> _#= contentTitle =#_</h1> <div class="burke-contentHtml" title="" id="_#= bodyId =#_" > _#=STSHtmlDecode(contentBody.value)=#_</div> <div id="_#= attachmentsId =#_">_#=linkMarkup=#_</div> </div> </div>
- Edited by StevenBennett 13 hours 25 minutes ago