zedai-to-html: added two assertions when relativizing hrefs