In my 'News' list I have a 'short description' field which is a rich text editor. In this field I want the user's to be able to use HTML formatting and styling.
In the display template file, i am getting the value using -
var shortDescription = $getItemValue(ctx, "NewsItemShortDescription");
I am then outputting it with -
<div id="trimmedDetailsDiv" class="newsListItemBody" style="padding-right: 0px; color:#656565; font-size:15px; padding-bottom: 25px;"> _#=shortDescription=#_ </div>
However, on the front end, im seeing the following,
How am I able to display the HTML formatting?
any advice would be greatly appreciated!