discard lines without characters and add illustrations block