normalize html before compare in tests whitespace forgiving.