Use semicolon for fontawesome unicode data
This commit is contained in:
parent
84176f6499
commit
66e372166c
@ -64,7 +64,7 @@ class AdditionalsFontAwesome
|
||||
def load_details(type, name)
|
||||
return {} unless FONTAWESOME_ICONS.key?(type)
|
||||
values = FONTAWESOME_ICONS[type][name]
|
||||
return { unicode: "&#x#{values[:unicode]}".html_safe, label: values[:label] } if values.present?
|
||||
return { unicode: "&#x#{values[:unicode]};".html_safe, label: values[:label] } if values.present?
|
||||
{}
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user