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" }