-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add partial support for sections properties #47
base: main
Are you sure you want to change the base?
Changes from all commits
4caa838
f41567c
d93069a
2eb4c87
fc4be96
1f06dc9
ff60803
8d96de0
c6994f2
99648f1
15a16b1
34e4579
858f5a8
88e1287
42492e2
4ec2b79
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,7 @@ import ( | |
"encoding/xml" | ||
"fmt" | ||
"log" | ||
"path" | ||
"path/filepath" | ||
"regexp" | ||
"strconv" | ||
|
@@ -174,7 +175,7 @@ func (t *toc) addSubSection(parent string, index int, title string, relativePath | |
t.ncxXML.NavMap = append(t.ncxXML.NavMap, np) | ||
} else { | ||
|
||
parentRelativePath := filepath.Join(xhtmlFolderName, parent) | ||
parentRelativePath := path.Join(xhtmlFolderName, parent) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why change There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's a fix for #46. |
||
|
||
l := &tocNavItem{ | ||
A: tocNavLink{ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can just keep Curl command
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's what you proposed in the previous pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes