Skip to content

Commit

Permalink
优化搜索结果
Browse files Browse the repository at this point in the history
  • Loading branch information
nyancatda committed Oct 12, 2021
1 parent c5bd3c6 commit 82a7136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Plugin/GetWikiInfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func SearchWiki(WikiName string, title string) string {
if len(SearchList) != 0 {
var SearchPages strings.Builder
for _, value := range SearchList {
SearchPages.WriteString(value.(string))
PagseName := "[" + value.(string) + "]"
SearchPages.WriteString(PagseName)
SearchPages.WriteString("\n")
}
return SearchPages.String()
Expand Down

0 comments on commit 82a7136

Please sign in to comment.