I have a requirement I have to display a ID from the text box which I added in the dialog field (rich text) <span class="num"></span> and I am calling it using sling model class and used like this ${practice.Response @ context='html'} and in Js i have given element.innterhtml it is working if I give it in HTML instead of passing it from the dialog. I was getting <span class="num"></span> as an plain string instead of html element as below so how to acheive this