madskristensen / LessCompiler

A Visual Studio extension
Other
15 stars 8 forks source link

url of src of font-face is missed #18

Open Abbas-Hashemian opened 5 years ago

Abbas-Hashemian commented 5 years ago

Installed product versions

Description

@font-face { font-family: x; font-style: normal; font-weight: 400; src: url('/fonts/x.eot'); } //is compiled to (in the minified version) src: '/fonts/x.eot'; //or src: '/fonts/x.eot');

Steps to recreate

Find a web font and test the code provided in description

Current behavior

src: '/fonts/x.eot'; //in the minified version

Expected behavior

src: url('/fonts/x.eot');