proper markup rendering of search pages