From 66f0fd0959b293c01a7685e9d7858db1da4416da Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Tue, 13 Apr 2021 15:06:31 +0800 Subject: Add NeedPostProcess for Parser interface to improve performance of csv render (#15153) --- modules/markup/csv/csv.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/markup/csv') diff --git a/modules/markup/csv/csv.go b/modules/markup/csv/csv.go index 430e759eb5..68c89166b5 100644 --- a/modules/markup/csv/csv.go +++ b/modules/markup/csv/csv.go @@ -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"} -- cgit v1.2.3