feat(渲染转换): 完善字体转换与链接动作
build.yaml / build (push) Successful in 53s

This commit is contained in:
xiaoqidun committed 2026-10-02 23:38:43 +08:00
1 parent 1104f0fdd1
commit 012569dbc0
15 files changed
+390 -50

No files matched your search

+5
View File
@@ -88,9 +88,14 @@ func (r *Renderer) PageLinks(page *PageContent) ([]PageLink, error) {
}
} else if action.URI != nil && action.URI.URI != "" {
link.URI = resolveActionURI(*action.URI)
link.Target = action.URI.Target
links = append(links, link)
} else if action.GotoA != nil {
link.Attachment = action.GotoA.AttachID
if action.GotoA.NewWindow != nil {
window := *action.GotoA.NewWindow
link.NewWindow = &window
}
links = append(links, link)
} else if action.Sound != nil {
value := *action.Sound