add 'trim' shortcode to views