Solved Font Awesome Icon is not displayed with <xf:fa>

This topic has been solved
K

Kirby

Guest
Prerequisites
Development mode must be disabled

Steps to reproduce
Create an ad for position Container Content: Above with the following content
Code:

Code:
<xf:set var="$icon" value="fa-ambulance" />
<xf:fa icon="{$icon|raw}" />

Expected result
The ambulance icon is shown when viewing a public page just like it is in XF 2.2

Actual result
The HTML source code for the page contains
Code:

Code:
<i class="fa--xf far fa-ambulance ">
    <svg...

Read more

Continue reading...