Use in line listings; remove captions and labels from snippets