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)