I have tried adding it as a class but it seems to ...
# cfml-general
m
I have tried adding it as a class but it seems to need the <i> part of the tag without this though it doesn't render
z
plz use threadz
m
the
<i>
tag is not specifically required by FontAwesome; what does the rendered html look like when you do simply add it as a class?
t
Can you try with the encode attribute:
Copy code
#linkTo(text='<i class="fa-sharp fa-regular fa-trash"></i>', route="myRoute", encode="attributes")#