From 1c9d0f5c21febc83b7cb001188ecdeba8c8c44b4 Mon Sep 17 00:00:00 2001 From: Christian Dreier Date: Thu, 14 Dec 2017 21:45:16 +0100 Subject: [PATCH] fixing lines with tabs --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index af2098c..f32c37b 100644 --- a/main.go +++ b/main.go @@ -120,7 +120,7 @@ func getSlideContent(content string) string { scanner := bufio.NewScanner(strings.NewReader(content)) for scanner.Scan() { - tmp := scanner.Text() + tmp := strings.Trim(scanner.Text(), "\t ") finalSlide += "\t" + tmp + "\n" }