fac-14 / Rocket2

Team Rocket Week 2
MIT License
0 stars 0 forks source link

Random special characters trigger a dropdown list? #44

Open MissArray opened 6 years ago

MissArray commented 6 years ago

issue on rocket2

So, when I type ?1- I get a dropdown with suggestions. Same when I type just numbers (not that I've any bright ideas as to how to fix that, of course).

sima-qian commented 6 years ago

I think is because of how they handle strings in the removeWhitespace() function -- it strips out anything that's not a letter. So pi/?.=-,1245 will suggest the same as pi.

See also #45