Fix to handle proxied paths in HTML.