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

NikitOS

Well-known member
Affected version
2.2.6 Patch 2
Hello.

As said in the title.
For this reason, only the first tag will work:
HTML:
<xf:fa icon="fa-cloud" />
<xf:fa icon=" fa-cloud" />
 
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.
 
Top Bottom