thegetty / quire

A multi-package repository for the Quire multiformat publishing framework
https://quire.getty.edu/
BSD 3-Clause "New" or "Revised" License
89 stars 10 forks source link

DEV-15886: Ensure relative links with hashes are properly transformed for EPUB output #866

Closed anderspollack closed 9 months ago

anderspollack commented 9 months ago

@mphstudios ~this works, but it is not the most elegant solution; thinking about how to model these relative link hrefs with/without hashes as a new relativeURL() => { hash: '...', pathname: '...', href: '..' }~ let me know what you think of this relativeURL() method of creating a URL-like object to organize all the path bits