Prechádzať zdrojové kódy

:art: Add `data-doc-type` and attribute when exporting image and PDF https://github.com/siyuan-note/siyuan/issues/9497

Daniel 1 rok pred
rodič
commit
fd32095929
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      kernel/api/export.go

+ 1 - 0
kernel/api/export.go

@@ -467,6 +467,7 @@ func exportPreviewHTML(c *gin.Context) {
 	// 导出 PDF 预览时点击块引转换后的脚注跳转不正确 https://github.com/siyuan-note/siyuan/issues/5894
 	content = strings.ReplaceAll(content, "http://"+util.LocalHost+":"+util.ServerPort+"/#", "#")
 
+	// Add `data-doc-type` and attribute when exporting image and PDF https://github.com/siyuan-note/siyuan/issues/9497
 	attrs := map[string]string{}
 	var typ string
 	if nil != node {