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 1ffd061 commit b834000Copy full SHA for b834000
review.js
@@ -349,8 +349,8 @@
349
const href = a.getAttribute('href')
350
if (!href) continue
351
const login = href.slice(1).toLowerCase()
352
- const body = comment.querySelector('.comment-body')
353
- 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))) {
354
revs.push(login)
355
}
356
0 commit comments