From 6993c24470031ed9d138c67f4e3b92cfba18da39 Mon Sep 17 00:00:00 2001 From: makeworld Date: Wed, 4 Nov 2020 20:42:30 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20unused=20func?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renderer/renderer.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/renderer/renderer.go b/renderer/renderer.go index eabc715..8f41fdd 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -80,17 +80,6 @@ func wrapLine(line string, width int, prefix, suffix string, includeFirst bool) return ret } -// tagLines splits a string into lines and adds a the given -// string to the start and another to the end. -// It is used for adding cview color tags. -func tagLines(s, start, end string) string { - lines := strings.Split(s, "\n") - for i := range lines { - lines[i] = start + lines[i] + end - } - return strings.Join(lines, "\n") -} - // convertRegularGemini converts non-preformatted blocks of text/gemini // into a cview-compatible format. // Since this only works on non-preformatted blocks, RenderGemini