insert_empty_p: add nbsp; if the next element doesn't have a height