Skip to content

Commit 90bfa0d

Browse files
committed
update GetExcerpt
1 parent f80af9f commit 90bfa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/schema/tag_schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ type GetTagResp struct {
9090
}
9191

9292
func (tr *GetTagResp) GetExcerpt() {
93-
excerpt := strings.TrimSpace(tr.OriginalText)
93+
excerpt := strings.TrimSpace(tr.ParsedText)
9494
idx := strings.Index(excerpt, "\n")
9595
if idx >= 0 {
9696
excerpt = excerpt[0:idx]

0 commit comments

Comments
 (0)