diff --git a/repochecker/grammalecte/grammalecte.go b/repochecker/grammalecte/grammalecte.go index 596708ff..f5814687 100644 --- a/repochecker/grammalecte/grammalecte.go +++ b/repochecker/grammalecte/grammalecte.go @@ -187,6 +187,10 @@ func grammalecte(name string, text string, exceptions *sync.CheckExceptions, opt continue } + if gerror.RuleId == "mc_mot_composé" && exceptions.HasException(fmt.Sprintf(":spelling:%s", data.Text[gerror.Start+1:gerror.End+1])) { + continue + } + if exceptions.HasException(fmt.Sprintf(":%d:%s", data.Paragraph, gerror.RuleId)) { continue }