Flesh out caption shortcode handling.