output each CaptionNode to new line