By default, Pelican produces HTML (not XHTML) from Markdown. For instance, markup  will produce <img src="images/bird.jpg"> with a non-closed tag, breaking XHTML.
Is there a way to convince Pelican to produce XHTML? Or must I run Tidy on output/* ?