trim search query

* fixes bad QR codes on trackables including line break after URL