Qwant/Instant-Answers

double-quote (") in query gives an error

Closed this issue · 2 comments

Hi,

I'm working on JSON/XML validator/beautifier but if you have a double quote in the query, it messes everything up :

For example, the query md5 "abc" :

capture d ecran 2017-10-18 a 13 36 53

check the url `?q=md5+"abc"` but there's nothing in the result div

it's because " has to be stripped here I guess :
capture d ecran 2017-10-18 a 13 38 16

Thank you for reporting that. This is an issue we only have in the sandbox, not on the production website. It will be fixed soon. Thanks again!

as a short term fix, replacing [[= by [[! in node_modules/@qwant/ia_sandbox/views/index.dot works