Convert String to HTML widget Service Portal

chidanandadhath
Kilo Guru

I want to display Description in HTML... The description is in point wise, when displayed the contents are not coming in next line

<div class="content">
  <p ng-bind-html="c.data.textP1"></p>
</div>
5 REPLIES 5

in server script I have 

data.html1= gr.getValue('description');

Do I need to use 

data.html1= "<h1>gr.getValue('description')</h1>"

in server script?