Read custom property from jcr:content through sling model
Hi Team,
I am trying to read custom property from jcr:content through sling model it is working as expected.
properties.get("xyz:description", String.class))
but xyz:description having html content which is having all html tags.
Ex:-xyz:description
<div class="ExternalClassA70F215EC26842B6AB7B672B13D0276A"><p>With improved upfront , circle<sup>TM</sup> ABC-01 enhances flavors and offers strong synergy with stevia and <b>HFCS</b> <u></u>.<br></p></div>
but when I read through properties.get("xyz:description", String.class)), I am getting plain text , superscirpt, bold are not applied in the text.
.
Could you please suggest how to read html content from jcr:content properties.
Thanks,
Chandra