diff --git a/src/plugins/search/search.js b/src/plugins/search/search.js index e7f5ee7..fcdbd56 100644 --- a/src/plugins/search/search.js +++ b/src/plugins/search/search.js @@ -17,7 +17,7 @@ function escapeHtml (string) { function getAllPaths () { const paths = [] - helper.dom.findAll('a:not(data-nosearch)') + helper.dom.findAll('a:not([data-nosearch])') .map(node => { const href = node.href const originHref = node.getAttribute('href')