Use semicolon for fontawesome unicode data

This commit is contained in:
Alexander Meindl 2018-06-21 09:22:09 +02:00
parent 84176f6499
commit 66e372166c

View File

@ -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