html: ignore content when it's nil