Open micmath opened 1 month ago
Ah, good find! We do have a few emoji tests in our suite, but they only have the emoji within a sentence (which works) rather than on its own (which does not). This has worked in the past so it shouldn't be a hard fix. Will fix 🙂
(NB: Pagefind does have a debug build with better panic logging, but the production WebAssembly doesn't have that compiled in to save on some bytes)
When the search term contains the dog face emoticon 🐶 (and every other emoticon I tried), the following error is shown in the browser console:
This can be reproduced by going to the https://pagefind.app/ website and entering any search string that contains an emoticon, then examining the Web Inspector console.
Possibly useful? https://rustwasm.github.io/docs/book/reference/debugging.html#logging-panics