Filters content in preparation for display.