diff --git a/src/lib/DocSearch.js b/src/lib/DocSearch.js index 3e17b7544..e83b013d6 100644 --- a/src/lib/DocSearch.js +++ b/src/lib/DocSearch.js @@ -107,7 +107,7 @@ class DocSearch { utils.getHighlightedValue(hit, 'lvl5'), utils.getHighlightedValue(hit, 'lvl6') ]).join(' › '); - let text = utils.getSnippettedValue(hit, 'content'); + let text = utils.getSnippetedValue(hit, 'content'); return { isCategoryHeader: hit.isCategoryHeader,