diff --git a/libs/hooks.js b/libs/hooks.js index fc2a8bc21d4499f282fe13ad0864d796c74c432b..969f40c51cd02b72a142365ab69fe23275f14570 100644 --- a/libs/hooks.js +++ b/libs/hooks.js @@ -33,7 +33,7 @@ export default { /<lexique[>]([^<]*)<\/|<lexique\s+title="(.*)"/g ), ].map((match) => { - return (match[2] || match[1]).toLowerCase() // Priority for term in title="" + return (match[1] || match[2]).toLowerCase() // Priority for term in title="" }) if (lexiqueTerms.length) {