We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cf8cc1 commit ca1c671Copy full SHA for ca1c671
review.js
@@ -351,8 +351,8 @@
351
const href = a.getAttribute('href')
352
if (!href) continue
353
const login = href.slice(1).toLowerCase()
354
- const body = comment.querySelector('.comment-body')
355
- if (body && LGTM_RE.test(body.innerHTML)) {
+ const paragraphs = comment.querySelectorAll('.comment-body > p')
+ if (Array.from(paragraphs).some(p => LGTM_RE.test(p.innerHTML))) {
356
revs.push(login)
357
}
358
0 commit comments