From dbbe07ce2ace26e9e7f8cc1fef698a7fe7ad4cca Mon Sep 17 00:00:00 2001 From: kauri Date: Thu, 16 Sep 2021 22:53:41 +0300 Subject: [PATCH] final - commented section removed --- main.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/main.go b/main.go index 795d4de..d2edaee 100644 --- a/main.go +++ b/main.go @@ -95,19 +95,6 @@ func FixApostrophes(text string) string { } } - // if string(text[i]) == "'" && - - /* - if string(text[i]) == "'" && apostrophe_pair && i > len(text)-1 { - fmt.Println("found first apostrophe") - text = strings.TrimSuffix(text[i:i+2], " ") - apostrophe_pair = false - } - if string(text[i]) == "'" && !apostrophe_pair { - fmt.Println("found second apostrophe") - text = strings.TrimPrefix(text[i-1:i+1], " ") - apostrophe_pair = true - }*/ return text }