Skip to content

Commit

Permalink
🎨 Improve backlink doc title escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 22, 2024
1 parent a5ea85f commit 8639955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/model/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func toFlatTree(blocks []*Block, baseDepth int, typ string, tree *parse.Tree) (r
treeNode := &Path{
ID: root.ID,
Box: root.Box,
Name: util.EscapeHTML(path.Base(root.HPath)),
Name: path.Base(root.HPath),
NodeType: root.Type,
Type: typ,
SubType: root.SubType,
Expand Down Expand Up @@ -196,7 +196,7 @@ func toSubTree(blocks []*Block, keyword string) (ret []*Path) {
treeNode := &Path{
ID: root.ID,
Box: root.Box,
Name: util.EscapeHTML(path.Base(root.HPath)),
Name: path.Base(root.HPath),
Type: "backlink",
NodeType: "NodeDocument",
SubType: root.SubType,
Expand Down

0 comments on commit 8639955

Please sign in to comment.