forked from bmaupin/go-epub
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add file extension at the end of filename if not provided (#20)
* add unittest for append subsection to the subsection * fix #14 if customname don't have .xhtml add that to the end of section filename * Better name for unittest Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com> * Update epub_test.go Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com> * better unittest name * removal of confusing comments * use filepath.Ext * add unittest for if cutom filename with extension other than .xhtml --------- Co-authored-by: Felipe Martin <812088+fmartingr@users.noreply.github.com>
- Loading branch information
1 parent
00a59d4
commit 9c10b06
Showing
2 changed files
with
92 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters