From 7aa0ead60c94defac9c288cba1eb10d997934a55 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Thu, 17 Feb 2022 10:13:49 -0600 Subject: [PATCH] remove log --- extension/typographer.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/extension/typographer.go b/extension/typographer.go index 690de1e..f56c06f 100644 --- a/extension/typographer.go +++ b/extension/typographer.go @@ -1,7 +1,6 @@ package extension import ( - "fmt" "unicode" "github.com/yuin/goldmark" @@ -233,7 +232,6 @@ func (s *typographerParser) Parse(parent gast.Node, block text.Reader, pc parser } // special cases: 'twas, 'em, 'net if len(line) > 1 && (unicode.IsPunct(before) || unicode.IsSpace(before)) && (line[1] == 't' || line[1] == 'e' || line[1] == 'n' || line[1] == 'l') { - fmt.Println(string(line)) node := gast.NewString(s.Substitutions[Apostrophe]) node.SetCode(true) block.Advance(1)