Screenshot
Steps to reproduce:
1.Open a page with VE
2.Insert an image
3.Go to Media Settings of that image and add another image inside it
4.Now Go to the media settings of the image that you just added
5.Type something in the caption of the second image
6.Apply changes
7.Save the page
Observed Result:
The wiki text for the image shows up in the read mode
See the screenshot attached
Test Environment: http://en.wikipedia.beta.wmflabs.org/
Browser: FF 25
OS: MAC OS X 10. 8. 5
Page:http://en.wikipedia.beta.wmflabs.org/wiki/19thfebFF
Version: unspecified
Severity: minor
Attached: