1
0
Fork 0
mirror of https://github.com/twbs/bootstrap-sass.git synced 2022-11-09 12:27:02 -05:00

fix converter -font regex

This commit is contained in:
Gleb Mazovetskiy 2014-01-13 23:18:43 +01:00
parent 3a4a9e377e
commit c9a09131f6

View file

@ -109,7 +109,7 @@ class Converter
when 'glyphicons.less'
file = replace_all file, /\#\{(url\(.*?\))}/, '\1'
file = replace_rules(file, '@font-face') { |rule|
rule = replace_all rule, /(\$icon-font-\w+)/, '#{\1}'
rule = replace_all rule, /(\$icon-font(?:-\w+)+)/, '#{\1}'
replace_asset_url rule, :font
}
end