Remove non-HTML cruft from beginning and end of search response.