mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 21:36:59 +02:00
Add NeedPostProcess for Parser interface to improve performance of csv render (#15153)
This commit is contained in:
1 parent
bf3e584de2
commit
66f0fd0959
8 files changed
+38
-14
No files matched your search
Vendored
+5
@@ -38,6 +38,11 @@ func (p *Parser) Name() string {
|
||||
return p.MarkupName
|
||||
}
|
||||
|
||||
// NeedPostProcess implements markup.Parser
|
||||
func (p *Parser) NeedPostProcess() bool {
|
||||
return p.MarkupParser.NeedPostProcess
|
||||
}
|
||||
|
||||
// Extensions returns the supported extensions of the tool
|
||||
func (p *Parser) Extensions() []string {
|
||||
return p.FileExtensions
|
||||
|
||||
Reference in new issue
Block a user