mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Bump FontAwesome icons to 5.7.2
This commit is contained in:
@@ -224,10 +224,10 @@ module SvgSprite
|
||||
icons = all_icons(theme_ids)
|
||||
|
||||
doc = File.open("#{Rails.root}/vendor/assets/svg-icons/fontawesome/solid.svg") { |f| Nokogiri::XML(f) }
|
||||
fa_license = doc.at('//comment()').text
|
||||
|
||||
svg_subset = """<!--
|
||||
Discourse SVG subset of #{fa_license}
|
||||
Discourse SVG subset of Font Awesome Free by @fontawesome - https://fontawesome.com
|
||||
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
||||
-->
|
||||
<svg xmlns='http://www.w3.org/2000/svg' style='display: none;'>
|
||||
""".dup
|
||||
|
||||
Reference in New Issue
Block a user