From 5e24a624003c0692004366af74d79735cdbd6001 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Thu, 17 Feb 2022 10:13:18 -0600 Subject: [PATCH] add comment to clarify case --- extension/typographer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/typographer.go b/extension/typographer.go index a788228..690de1e 100644 --- a/extension/typographer.go +++ b/extension/typographer.go @@ -268,6 +268,7 @@ func (s *typographerParser) Parse(parent gast.Node, block text.Reader, pc parser return node } if s.Substitutions[RightSingleQuote] != nil { + // plural possesives and abbreviations: Smiths', doin' if len(line) > 1 && unicode.IsSpace(util.ToRune(line, 0)) || unicode.IsPunct(util.ToRune(line, 0)) && (len(line) > 2 && !unicode.IsDigit(util.ToRune(line, 1))) { node := gast.NewString(s.Substitutions[RightSingleQuote]) node.SetCode(true)