mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 05:39:21 +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
@@ -228,6 +228,9 @@ func (Parser) Name() string {
|
||||
return MarkupName
|
||||
}
|
||||
|
||||
// NeedPostProcess implements markup.Parser
|
||||
func (Parser) NeedPostProcess() bool { return true }
|
||||
|
||||
// Extensions implements markup.Parser
|
||||
func (Parser) Extensions() []string {
|
||||
return setting.Markdown.FileExtensions
|
||||
|
||||
Reference in new issue
Block a user