Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix restore tag node

Stevenee1392760785
diff --git a/plugin/gomark/ast/inline.go b/plugin/gomark/ast/inline.go
index a7f52cca9..075c6b6d8 100644
--- a/plugin/gomark/ast/inline.go
+++ b/plugin/gomark/ast/inline.go
@@ -147,7 +147,7 @@ func (*Tag) Type() NodeType {
}
func (n *Tag) Restore() string {
- return fmt.Sprintf("<%s>", n.Content)
+ return fmt.Sprintf("#%s", n.Content)
}
type Strikethrough struct {