fix: syndicate code phrases miss from highlights (#17232)

This commit is contained in:
ARZUMATA
2021-12-17 10:34:29 +01:00
committed by GitHub
parent b593bc2c92
commit b742bb6404
+1 -1
View File
@@ -413,7 +413,7 @@ function output(message, flag) {
}
//Stuff we can do after the message shows can go here, in the interests of responsiveness
if (opts.highlightTerms && opts.highlightTerms.length > 0) {
if ((opts.highlightTerms && opts.highlightTerms.length > 0) || (opts.codePhrases.length > 0 && opts.codeResponses.length > 0)) {
highlightTerms(entry);
}
}