Fixed XF\Template\Templater::fontAwesome does not trim icon classes


Well-known member
Affected version
2.2.6 Patch 2

As said in the title.
For this reason, only the first tag will work:
<xf:fa icon="fa-cloud" />
<xf:fa icon=" fa-cloud" />

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.7).

Change log:
Trim excess whitespace from the beginning of Font Awesome icon classes
There may be a delay before changes are rolled out to the XenForo Community.