go-epub
go-epub copied to clipboard
Go library for creating EPUB files
see step 4 and 5, toc.href and parentRelativePath separator is diffrent. and will lose all the subsection https://github.com/go-shiori/go-epub/blob/main/toc.go#L193 and will log this: 
I was doing some dirty things and I figured out that either we don't support opening epubs or we don't have the appropriate plumbing to do so in the public...
Bumps the all group with 3 updates in the / directory: [actions/setup-go](https://github.com/actions/setup-go), [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/setup-go` from 5.0.2 to 5.2.0 Release notes Sourced from actions/setup-go's releases. v5.2.0 What's Changed...
Support optional XML files in META-INF as defined in [Reserved files in META-INF](https://www.w3.org/TR/epub-33/#sec-container-metainf-files),and include support for files like com.apple.ibooks.display-options.xml to enable custom font settings in Apple Books.
Bumps the all group with 1 update in the / directory: [github.com/gabriel-vasile/mimetype](https://github.com/gabriel-vasile/mimetype). Updates `github.com/gabriel-vasile/mimetype` from 1.4.5 to 1.4.7 Release notes Sourced from github.com/gabriel-vasile/mimetype's releases. v1.4.7 What's Changed remove torrent testdata;...
Sections with empty title are shown in TOC but cannot be clicked because the `` is empty.
Fixes #40 and #46.
AddSubSection fails on Windows because path separator is not matched in navAppender and ncxAppender
In `toc.go` [line 177](https://github.com/go-shiori/go-epub/blob/64afa86158c504ae78270452f6f8b3dd1612a706/toc.go#L177) there is a `parentRelativePath` variable created which is then used in `navAppender` and `ncxAppender` to find a parent section. It does not work on Windows because...