add a contentequal method to compare content text