mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
♻️ Container 常量化
This commit is contained in:
parent
379e27aefe
commit
7f9c598061
7 changed files with 17 additions and 10 deletions
|
|
@ -82,7 +82,7 @@ func html2BlockDOM(c *gin.Context) {
|
|||
n.Unlink()
|
||||
}
|
||||
|
||||
if "std" == model.Conf.System.Container {
|
||||
if util.ContainerStd == model.Conf.System.Container {
|
||||
// 处理本地资源文件复制
|
||||
ast.Walk(tree.Root, func(n *ast.Node, entering bool) ast.WalkStatus {
|
||||
if !entering || ast.NodeLinkDest != n.Type {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue