+1
-1
post_component.js
+1
-1
post_component.js
···
306
306
highlightSearchResults(terms) {
307
307
let regexp = new RegExp(`\\b(${terms.join('|')})\\b`, 'gi');
308
308
309
-
let body = this._rootElement.querySelector(':scope > .content > .body');
309
+
let body = this._rootElement.querySelector(':scope > .content > .body, :scope > .content > details .body');
310
310
let walker = document.createTreeWalker(body, NodeFilter.SHOW_TEXT);
311
311
let textNodes = [];
312
312