VID-1914 Make sure images in caption are inline