bug fix:when inlining css into html, img url should be relative to the html file