Summary:
CSS URL not appended correctly.
Detailed Description:
Started using {cgjs_render} to speed up my sites, but any url css statement
which begin with a / or a .. are not working correctly ...
e.g.
#content-wrapper.bg1 { background-image:/images/bg-cat.jpg'); } becomes
#content-wrapper.bg1 { background-image:
url('//www.oaktreeanimals.org.uk/tmp/cache//images/bg-cat.jpg'); }
and in the case of Font Awesome, the url isn't appended at all ...
@font-face{font-family:"Font Awesome 5
Free";font-style:normal;font-weight:400;font-display:auto;src:url(../webfonts/fa-regular-400.eot);src:url(../webfonts/fa-regular-400.eot?#iefix)
format("embedded-opentype"),url(../webfonts/fa-regular-400.woff2)
format("woff2"),url(../webfonts/fa-regular-400.woff)
format("woff"),url(../webfonts/fa-regular-400.ttf)
format("truetype"),url(../webfonts/fa-regular-400.svg#fontawesome)
format("svg")}.far{font-weight:400}
I think the issue is around the "$fix_css_urls" function.