Corrected spelling mistake in htmlentities function.