Protect against empty html