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:
parent
3a4a9e377e
commit
c9a09131f6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue