Convert HTML link values containing relative URLs to use absolute URLs with the cheerio npm package. This isn't a full HTML document, only a fragment that represents a sample of what may be contained ...
TL;DR: EPUB 3.3 now normatively references the URL Standard. But URL parsing is ambiguous in some cases, because base URLs are not clearly defined. ⚠️ EPUB references in the problem statement below ...