remove log

This commit is contained in:
Nate Moore 2022-02-17 10:13:49 -06:00
parent 5e24a62400
commit 7aa0ead60c

View file

@ -1,7 +1,6 @@
package extension package extension
import ( import (
"fmt"
"unicode" "unicode"
"github.com/yuin/goldmark" "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 // 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') { 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 := gast.NewString(s.Substitutions[Apostrophe])
node.SetCode(true) node.SetCode(true)
block.Advance(1) block.Advance(1)