f:selectItem itemEscaped=false not unescaping HTML in p:selectOneButton labels

82 views Asked by At

I'm working with PrimeFaces 5.3. I have the next f:selectItem in a p:selectOneButton

 <f:selectItem itemEscaped="false" itemLabel="&lt;i class=&quot;fa fa-fort-awesome&quot;&gt;&lt;/i&gt;" itemValue="0" />

It shows directly this html code:

<i class="fa fa-fort-awesome"></i>

instead shows the font awesome icon.

Any idea or suggestion?

0

There are 0 answers