mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-07-15 05:01:41 +08:00
Add NeedPostProcess for Parser interface to improve performance of csv render (#15153)
This commit is contained in:
@ -28,6 +28,9 @@ func (Parser) Name() string {
|
||||
return "csv"
|
||||
}
|
||||
|
||||
// NeedPostProcess implements markup.Parser
|
||||
func (Parser) NeedPostProcess() bool { return false }
|
||||
|
||||
// Extensions implements markup.Parser
|
||||
func (Parser) Extensions() []string {
|
||||
return []string{".csv", ".tsv"}
|
||||
|
Reference in New Issue
Block a user