sorensen / absolutify

Replace relative URLs with absolute in a given HTML string.
MIT License
22 stars 6 forks source link

Not working for css import #10

Open merbin2012 opened 4 years ago

merbin2012 commented 4 years ago

The following HTML string is not converting to an absolute path, kindly check and fix.

<style>
   @import url("../assets/css/style.css");
   @import url("../assets/plugins/datatable/css/jquery.dataTables.min.css");
   @import url("../assets/plugins/datatable/css/semantic.min.css");
  @import url("../assets/plugins/datatable/css/dataTables.semanticui.min.css");
</style>