Rendering semantic HTML5 caption
Did you double-check that your Text Format (under /admin/config/content/formats) was set to allow the HTML5 tags for this? (See below) If you haven't then the filtering will remove those tags and replace them with &lt;div&gt; tags.

&lt;figure&gt;
&lt;figcaption&gt;