VID-1914 Make sure images in caption are inline

Why is anchor tag necessary?