HTML / Rich Text Stripped out of CQWP

I have a list that contains a multiline column with column called description that is using Enhanced Rich Text. I have a Content Query 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>


July 31st, 2015 5:46pm

Hi Steven,

I am suspecting this is not related to CQWP issue. This is related to column property issue. 

Please recheck the description column properties. 

Free Windows Admin Tool Kit Click here and download it now
August 1st, 2015 2:42pm

Refer this: http://sharepoint.stackexchange.com/questions/128981/display-template-render-html-in-list-item

Seems no Issue with CQWP.

August 1st, 2015 3:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics