ref-filter: add support to display trailers as part of contents