From a48d6ba4b4be4207a2c78c36b095fb69938e5ae5 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Tue, 30 Aug 2022 21:15:45 -0500 Subject: Go 1.19 format (#20758) * 1.19 gofumpt Signed-off-by: jolheiser * Change CSV test Signed-off-by: jolheiser * Commit whitespace fixes from @zeripath Co-authored-by: zeripath * Update emoji Signed-off-by: jolheiser * bump swagger & fix generate-swagger Signed-off-by: jolheiser Co-authored-by: zeripath Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH --- modules/markup/mdstripper/mdstripper.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/markup') diff --git a/modules/markup/mdstripper/mdstripper.go b/modules/markup/mdstripper/mdstripper.go index 64079194ff..c7f8ee69f1 100644 --- a/modules/markup/mdstripper/mdstripper.go +++ b/modules/markup/mdstripper/mdstripper.go @@ -141,7 +141,7 @@ func (r *stripRenderer) AddOptions(...renderer.Option) { } // StripMarkdown parses markdown content by removing all markup and code blocks -// in order to extract links and other references +// in order to extract links and other references func StripMarkdown(rawBytes []byte) (string, []string) { buf, links := StripMarkdownBytes(rawBytes) return string(buf), links @@ -153,7 +153,7 @@ var ( ) // StripMarkdownBytes parses markdown content by removing all markup and code blocks -// in order to extract links and other references +// in order to extract links and other references func StripMarkdownBytes(rawBytes []byte) ([]byte, []string) { once.Do(func() { gdMarkdown := goldmark.New( -- cgit v1.2.3