Added htmlentities to display the queries with <>