Don't print the caption if there isn't any.