I am trying to display content from a rich text column (ArticleContent) in my search results webpart using a custom display template.
<div id="_#= $htmlEncode(itemId) =#_" name="Item" data-displaytemplate="DefaultItem" class="ms-srch-item">
<table>
<tr>
<td class=”PageContentTitle”>
_#=ctx.CurrentItem.Title=#_
</td>
</tr>
<tr>
<td class=”PageContentColumns”>
_#=ctx.CurrentItem.ArticleContent=#_
</td>
</tr>
</table>
<div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div>
</div>
The Title and any other single line of text or number column is displaying fine, but when I am use a rich text column, the result is plain text. So in order to maintain formatting I changed the site column to Publishing HTML (Page Content) but now the content is always blank. Any ideas?
Update: Search crawls are running fine. I have also run a full crawl to be sure.