HTML validation issue in search template

Use ampersands for format and remove excess closing span.
Don't allow empty queries to run in search