Can I add html HTML Entity to lightning component for example:
HTML5 Named Entity:☆ or Decimal: ☆ or Hexadecimal: ☆
For example:
<ui:outputText value='☆'/>
You can add the entity within a Lightning component, using the aura frameworks as follows:
<div> & </div>
which is translated to :
<aura:html tag="div"/> &
according to the aura documentation.
(you can also use the above syntax.)
the framework's outputText component supports entities and you can use them(as far as my testing goes), however, this is not covered in the documentation.
<ui:outputText value='<'/>
the above will render the following:
<span data-aura-rendered-by="11:0" class="uiOutputText" data-aura-class="uiOutputText"><</span>