diff --git a/routes/search.js b/routes/search.js index a792fc9..fffc96f 100644 --- a/routes/search.js +++ b/routes/search.js @@ -16,7 +16,7 @@ const PER_PAGE = 100 */ function safeQuery(q) { let q2 = q.trim() - if (q2.match(/[-./]/)) { + if (q2.match(/[-./']/)) { q2 = `"${q2}"` } if (q2.match(/\+/)) {