diff options
Diffstat (limited to 'filters')
-rw-r--r-- | filters/wrap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filters/wrap.go b/filters/wrap.go index f1b335cc..ea5186d4 100644 --- a/filters/wrap.go +++ b/filters/wrap.go @@ -260,7 +260,7 @@ func (p *paragraph) write(out io.Writer, margin int, proseRatio int) { var ( patchSubjectRe = regexp.MustCompile(`\bPATCH\b`) - listItemRe = regexp.MustCompile(`^\s*([\-\*\.]|\d{1,2}[\)\]\.])\s+`) + listItemRe = regexp.MustCompile(`^\s*([\-\*\.]|[a-z\d]{1,2}[\)\]\.])\s+`) leadingSpaceRe = regexp.MustCompile(`^\s+`) trailingSpaceRe = regexp.MustCompile(`\s+$`) notLetterRe = regexp.MustCompile(`[^\pL]`) |