So for some reason when I have my markdown image tag wrapped in a <div>
or a <section>
it just outputs markdown code. http://d.pr/i/bPvI (screenshot)
<section class="photoset">

</section>
But when I remove the HTML code it shows the image but is wrapped in paragraph tags which are not the problem. I understand why Jekyll does that to images. It makes sense to me. I just don't understand why it won't work when it's worked for me before when wrapping it in HTML tags.
Edited
<section class="photoset">

</section>
<p><img src="/images/san-francisco.jpeg" alt="Image of San Francisco bay
bridge from beach" /></p>
The above code I tried seeing if it would work without the section tags and it did work. So for some reason, it is the HTML tags that are preventing the markdown tags to work or something.