mirror of
https://github.com/go-gitea/gitea.git
synced 2026-11-13 06:45:43 +00:00
Backport #28454 (the only conflict is caused by some comments) * Close #24483 * Close #28123 * Close #23682 * Close #23149
This commit is contained in:
1 parent
8ee1ed877b
commit
a3f403f438
17 files changed
+112
-148
No files matched your search
@@ -6,6 +6,7 @@ package code
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"html/template"
|
||||
"strings"
|
||||
|
||||
"code.gitea.io/gitea/modules/highlight"
|
||||
@@ -22,7 +23,7 @@ type Result struct {
|
||||
Language string
|
||||
Color string
|
||||
LineNumbers []int
|
||||
FormattedLines string
|
||||
FormattedLines template.HTML
|
||||
}
|
||||
|
||||
type SearchResultLanguages = internal.SearchResultLanguages
|
||||
|
||||
Reference in new issue
Block a user