You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, full names of icons aren't being respected by the fa_i function. For example fa_i("far fa-sqaure") will get translated to <i class="fa fa-far fa-square"></i>. In essence, fa_i is prepending "fa" as the style and to the name, regardless of whether or not a full name is provided.
A solution would be examine whether the submitted name is a full name or shortened, potentially by checking whether there is a space in the name. If a full name is provided, then that should be used for the internal iconClass object rather than the paste0 output.
The text was updated successfully, but these errors were encountered:
Currently, full names of icons aren't being respected by the
fa_i
function. For examplefa_i("far fa-sqaure")
will get translated to<i class="fa fa-far fa-square"></i>
. In essence,fa_i
is prepending "fa" as the style and to the name, regardless of whether or not a full name is provided.A solution would be examine whether the submitted name is a full name or shortened, potentially by checking whether there is a space in the name. If a full name is provided, then that should be used for the internal
iconClass
object rather than thepaste0
output.The text was updated successfully, but these errors were encountered: