From ee1392760785fb70994066c24c1d650ab971b81c Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 5 Jan 2024 18:50:28 +0800 Subject: [PATCH] chore: fix restore tag node --- plugin/gomark/ast/inline.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/gomark/ast/inline.go b/plugin/gomark/ast/inline.go index a7f52cca..075c6b6d 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 {