An ATproto social media client -- with an independent Appview.

fix searching for phrases by replacing smart quotes (#8865)

authored by samuel.fm and committed by

GitHub 7771b56a 3810b29f

+4
+4
src/lib/strings/helpers.ts
··· 84 84 return query 85 85 } 86 86 87 + // replace “smart quotes” with normal ones 88 + // iOS keyboard will add fancy unicode quotes, but only normal ones work 89 + query = query.replaceAll(/[“”]/g, '"') 90 + 87 91 // We don't want to replace substrings that are being "quoted" because those 88 92 // are exact string matches, so what we'll do here is to split them apart 89 93